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

fix: Use all chunks in Series from arrow struct #19218

Merged
merged 4 commits into from
Oct 14, 2024
Merged

fix: Use all chunks in Series from arrow struct #19218

merged 4 commits into from
Oct 14, 2024

Conversation

ritchie46
Copy link
Member

fixes #19208

@github-actions github-actions bot added fix Bug fix python Related to Python Polars rust Related to Rust Polars labels Oct 13, 2024
Copy link

codecov bot commented Oct 13, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 79.67%. Comparing base (ff10b38) to head (1a2fe24).
Report is 2 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main   #19218   +/-   ##
=======================================
  Coverage   79.67%   79.67%           
=======================================
  Files        1532     1532           
  Lines      209200   209211   +11     
  Branches     2417     2416    -1     
=======================================
+ Hits       166687   166698   +11     
  Misses      41965    41965           
  Partials      548      548           

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

}
)
assert pl.concat([df[0], df[1], df[2]]).select(
pl.col("nested").list.to_struct()
Copy link
Member Author

Choose a reason for hiding this comment

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

@orlp this expression's dtype is dependent on the data and therefore not suitable for streaming. I want to add a flag for those expressions so that they will fallback to in-memory.

@ritchie46 ritchie46 merged commit e29e9df into main Oct 14, 2024
25 checks passed
@ritchie46 ritchie46 deleted the struct branch October 14, 2024 07:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
fix Bug fix python Related to Python Polars rust Related to Rust Polars
Projects
None yet
Development

Successfully merging this pull request may close these issues.

list.to_struct deletes rows
1 participant