-
Couldn't load subscription status.
- Fork 118
feat!: arrow 57 support #1424
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
feat!: arrow 57 support #1424
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change | ||||
|---|---|---|---|---|---|---|
| @@ -1,12 +1,26 @@ | ||||||
| //! This module re-exports the different versions of arrow, parquet, and object_store we support. | ||||||
| #[cfg(feature = "arrow-56")] | ||||||
| #[cfg(feature = "arrow-57")] | ||||||
| mod arrow_compat_shims { | ||||||
| pub use arrow_57 as arrow; | ||||||
|
Check warning on line 5 in kernel/src/arrow_compat.rs
|
||||||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. we should probably turn off these warnings if they are spurious |
||||||
| pub use parquet_57 as parquet; | ||||||
|
Check warning on line 6 in kernel/src/arrow_compat.rs
|
||||||
| } | ||||||
|
|
||||||
| #[cfg(all( | ||||||
| not(feature = "arrow-55"), | ||||||
| feature = "arrow-56", | ||||||
| not(feature = "arrow-57") | ||||||
| ))] | ||||||
| mod arrow_compat_shims { | ||||||
| pub use arrow_56 as arrow; | ||||||
| pub use parquet_56 as parquet; | ||||||
| } | ||||||
|
|
||||||
| #[cfg(all(feature = "arrow-55", not(feature = "arrow-56")))] | ||||||
| #[cfg(all( | ||||||
| feature = "arrow-55", | ||||||
| not(feature = "arrow-56"), | ||||||
| not(feature = "arrow-57") | ||||||
| ))] | ||||||
| mod arrow_compat_shims { | ||||||
| pub use arrow_55 as arrow; | ||||||
| pub use parquet_55 as parquet; | ||||||
|
|
@@ -17,9 +31,10 @@ | |||||
| #[cfg(all( | ||||||
| feature = "need-arrow", | ||||||
| not(feature = "arrow-55"), | ||||||
| not(feature = "arrow-56") | ||||||
| not(feature = "arrow-56"), | ||||||
| not(feature = "arrow-57") | ||||||
| ))] | ||||||
| compile_error!("Requested a feature that needs arrow without enabling arrow. Please enable the `arrow-55` or `arrow-56` feature"); | ||||||
| compile_error!("Requested a feature that needs arrow without enabling arrow. Please enable the `arrow-55`, `arrow-56`, or `arrow-57` feature"); | ||||||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. nit for this message if/when you remove arrow-55
Suggested change
|
||||||
|
|
||||||
| #[cfg(any(feature = "arrow-55", feature = "arrow-56"))] | ||||||
| #[cfg(any(feature = "arrow-55", feature = "arrow-56", feature = "arrow-57"))] | ||||||
| pub use arrow_compat_shims::*; | ||||||
|
Check warning on line 40 in kernel/src/arrow_compat.rs
|
||||||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think we're only committing to latest two versions for support, so let's remove arrow-55