Skip to content
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

chore: expand the arrow version range to allow arrow v54 #616

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

rtyler
Copy link
Member

@rtyler rtyler commented Dec 30, 2024

This was released last week and in preliminary testing it appears safe to incorporate for the latest version range

What changes are proposed in this pull request?

How was this change tested?

cargo test && cargo build && cargo test --features sync-engine

This was released last week and in preliminary testing it appears safe
to incorporate for the latest version range

Note: Field.dict_id() is going away, and where it is being used for
field comparisons I don't believe it adds substantial value. There's no
replacement for it in Arrow 54+

Signed-off-by: R. Tyler Croy <[email protected]>
Copy link

codecov bot commented Dec 31, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 83.50%. Comparing base (cbb52a4) to head (621a37b).

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #616   +/-   ##
=======================================
  Coverage   83.50%   83.50%           
=======================================
  Files          74       74           
  Lines       16919    16916    -3     
  Branches    16919    16916    -3     
=======================================
- Hits        14128    14126    -2     
+ Misses       2133     2132    -1     
  Partials      658      658           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Comment on lines -106 to -109
assert!(
actual_field.dict_id() == expected_field.dict_id(),
"Field dict_id doesn't match"
);
Copy link
Collaborator

Choose a reason for hiding this comment

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

unrelated change?

Copy link
Member Author

Choose a reason for hiding this comment

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

No, arrow 54 marks dict_id as deprecated and the function will be removed in 55

Copy link
Collaborator

@zachschuermann zachschuermann left a comment

Choose a reason for hiding this comment

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

lgtm!

arrow-schema = { version = ">=53, <54" }
parquet = { version = ">=53, <54", features = ["object_store"] }
# When changing the arrow version range, also modify ffi/Cargo.toml which has
# its own arrow version ranges witeh modified features. Failure to do so will
Copy link
Collaborator

Choose a reason for hiding this comment

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

Suggested change
# its own arrow version ranges witeh modified features. Failure to do so will
# its own arrow version ranges with modified features. Failure to do so will

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants