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

feat: Support reading arrow Map type from Delta #21330

Merged
merged 3 commits into from
Feb 19, 2025

Conversation

nameexhaustion
Copy link
Collaborator

@nameexhaustion nameexhaustion commented Feb 18, 2025

@github-actions github-actions bot added enhancement New feature or an improvement of an existing feature python Related to Python Polars rust Related to Rust Polars labels Feb 18, 2025
DataType::BinaryOffset
}
},
ArrowDataType::FixedSizeBinary(_) => DataType::Binary,
dt => panic!("Arrow datatype {dt:?} not supported by Polars. You probably need to activate that data-type feature."),
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

rustfmt broke because this string line was too long

first_schema
.iter()
.map(|(name, field)| {
(name.clone(), slf_schema.get(name).unwrap_or(field).clone())
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Ensures we use the Field from the metadata of this file

Copy link

codecov bot commented Feb 18, 2025

Codecov Report

Attention: Patch coverage is 90.19608% with 5 lines in your changes missing coverage. Please review.

Project coverage is 79.85%. Comparing base (de1d9d5) to head (c0952df).
Report is 1 commits behind head on main.

Files with missing lines Patch % Lines
crates/polars-core/src/datatypes/field.rs 82.75% 5 Missing ⚠️
Additional details and impacted files
@@           Coverage Diff           @@
##             main   #21330   +/-   ##
=======================================
  Coverage   79.85%   79.85%           
=======================================
  Files        1596     1596           
  Lines      228642   228671   +29     
  Branches     2615     2615           
=======================================
+ Hits       182571   182600   +29     
  Misses      45473    45473           
  Partials      598      598           

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

@nameexhaustion nameexhaustion marked this pull request as ready for review February 19, 2025 05:04
@nameexhaustion nameexhaustion marked this pull request as draft February 19, 2025 07:57
@nameexhaustion nameexhaustion marked this pull request as ready for review February 19, 2025 07:59
@ritchie46 ritchie46 merged commit 1bf52d3 into pola-rs:main Feb 19, 2025
29 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or an improvement of an existing feature python Related to Python Polars rust Related to Rust Polars support
Projects
None yet
2 participants