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

Merged
merged 3 commits into from
Jan 10, 2025

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.45%. Comparing base (ba37b62) to head (cbe9054).
Report is 1 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #616      +/-   ##
==========================================
+ Coverage   83.43%   83.45%   +0.02%     
==========================================
  Files          75       75              
  Lines       16922    16919       -3     
  Branches    16922    16919       -3     
==========================================
+ Hits        14119    14120       +1     
+ Misses       2146     2145       -1     
+ Partials      657      654       -3     

☔ 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

Copy link
Collaborator

@nicklan nicklan left a comment

Choose a reason for hiding this comment

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

lgtm (modulo zachs suggestion). Thanks!

@rtyler rtyler merged commit fafc776 into delta-io:main Jan 10, 2025
21 checks passed
@rtyler rtyler deleted the new-arrow branch January 10, 2025 23:08
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.

4 participants