Skip to content

chore: Bump polars to unreleased 2025-09-20 version#1553

Merged
eitsupi merged 1 commit into
mainfrom
bump-polars-20250921
Sep 21, 2025
Merged

chore: Bump polars to unreleased 2025-09-20 version#1553
eitsupi merged 1 commit into
mainfrom
bump-polars-20250921

Conversation

@eitsupi
Copy link
Copy Markdown
Collaborator

@eitsupi eitsupi commented Sep 21, 2025

@eitsupi eitsupi force-pushed the bump-polars-20250921 branch from 3f0fcf9 to ee1a95f Compare September 21, 2025 08:15
@eitsupi eitsupi marked this pull request as ready for review September 21, 2025 08:20
Copilot AI review requested due to automatic review settings September 21, 2025 08:20
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

Updates the polars R package to use an unreleased 2025-09-20 version of polars, incorporating several upstream changes including data type system improvements and deprecations.

  • Adds support for UInt128 data type and includes it in relevant tests
  • Updates Decimal data type to require explicit precision/scale parameters and deprecates NULL values
  • Removes the deprecated collapse_joins optimization parameter from LazyFrame methods

Reviewed Changes

Copilot reviewed 32 out of 33 changed files in this pull request and generated 2 comments.

Show a summary per file
File Description
src/rust/Cargo.toml Updates polars dependency revision and adds polars-compute dependency
src/rust/src/datatypes.rs Refactors Decimal type to require explicit precision/scale, adds UInt128 support
src/rust/src/series/export.rs Adds UInt128 to integer export handling
src/rust/src/lazyframe/general.rs Removes collapse_joins parameter from optimization toggle
R/datatypes-classes.R Updates Decimal constructor with deprecation warnings for NULL values
R/lazyframe-frame.R Deprecates collapse_joins parameter across LazyFrame methods
tests/testthat/ Adds UInt128 test cases and updates Decimal validation tests

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

Comment thread src/rust/src/datatypes.rs
Comment thread src/rust/src/conversion/mod.rs
Comment thread src/rust/Cargo.toml
Comment on lines +33 to +36
# TODO: remove polars-compute after dec128_verify_prec_scale is exposed in polars-core
polars-compute = { git = "https://github.com/pola-rs/polars.git", rev = "664656ea91291f8f4b4eb9d42af2a9da5394616e", default-features = false, features = [
"dtype-decimal",
] }
Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

We can remove this if pola-rs/polars#24556 is merged.

@eitsupi eitsupi merged commit 9214e43 into main Sep 21, 2025
24 checks passed
@eitsupi eitsupi deleted the bump-polars-20250921 branch September 21, 2025 09:10
@eitsupi eitsupi added this to the 1.4.0 milestone Sep 23, 2025
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.

2 participants