Skip to content

Conversation

@zachschuermann
Copy link
Member

What changes are proposed in this pull request?

add arrow-57 feature flag

This PR affects the following public APIs

arrow flag now defaults to arrow 57 instead of arrow 56.

How was this change tested?

existing

@nicklan nicklan removed the request for review from scovich October 23, 2025 18:46
@github-actions github-actions bot added the breaking-change Change that require a major version bump label Oct 23, 2025
#[cfg(feature = "arrow-56")]
#[cfg(feature = "arrow-57")]
mod arrow_compat_shims {
pub use arrow_57 as arrow;
Copy link
Collaborator

Choose a reason for hiding this comment

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

we should probably turn off these warnings if they are spurious

arrow = ["arrow-57"] # latest arrow version
need-arrow = [] # need-arrow is a marker that the feature needs arrow dep

arrow-55 = ["dep:arrow_55", "dep:parquet_55", "object_store", "comfy-table"]
Copy link
Collaborator

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

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");
Copy link
Collaborator

Choose a reason for hiding this comment

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

nit for this message if/when you remove arrow-55

Suggested change
compile_error!("Requested a feature that needs arrow without enabling arrow. Please enable the `arrow-55`, `arrow-56`, or `arrow-57` feature");
compile_error!("Requested a feature that needs arrow without enabling arrow. Please enable the `arrow-56`, or `arrow-57` feature");

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

Labels

breaking-change Change that require a major version bump

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants