Skip to content

Conversation

@sarutak
Copy link
Member

@sarutak sarutak commented Aug 25, 2023

Which issue does this PR close?

Closes #7408

Rationale for this change

As of Rust 1.70, we can use OnceLock as a standard Rust library.
So, this PR proposes to replace lazy_static with OnceLock to reduce third-party dependency.

Are these changes tested?

Done by existing tests.

Are there any user-facing changes?

No

@github-actions github-actions bot added logical-expr Logical plan and expressions physical-expr Changes to the physical-expr crates core Core DataFusion crate sqllogictest SQL Logic Tests (.slt) labels Aug 25, 2023
Copy link
Contributor

@Dandandan Dandandan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cool, nice cleanup

@alamb
Copy link
Contributor

alamb commented Aug 25, 2023

I believe CI will pass after merging up from main to get the change in #7416

@alamb
Copy link
Contributor

alamb commented Aug 25, 2023

I took the liberty of merging up from main to fix the CI tests. I'll plan to merge this PR once they pass

@Dandandan Dandandan merged commit e0961d5 into apache:main Aug 25, 2023
@Dandandan
Copy link
Contributor

Thanks @sarutak

@sarutak
Copy link
Member Author

sarutak commented Aug 26, 2023

Thanks all.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

core Core DataFusion crate logical-expr Logical plan and expressions physical-expr Changes to the physical-expr crates sqllogictest SQL Logic Tests (.slt)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Replace lazy_static with OnceLock

4 participants