Skip to content

Conversation

@jqnatividad
Copy link
Collaborator

No description provided.

Copy link
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

This PR updates the Polars dependency from revision 5deaf7e to c241260 (still at version 0.52.0, tag py-1.36.1). The update includes necessary API adaptations to maintain compatibility with Polars' CsvWriter interface changes that now require type conversions for format strings and null values.

  • Updated Polars git revision in Cargo.toml and Cargo.lock
  • Adapted CsvWriter API calls to use explicit type conversions (.into() or .map(Into::into)) for date/time format parameters and null values
  • Updated test expectation to reflect improved row estimation from Polars optimizer

Reviewed changes

Copilot reviewed 6 out of 7 changed files in this pull request and generated 1 comment.

Show a summary per file
File Description
Cargo.toml Updated polars dependency git revision from 5deaf7e to c241260 with corresponding comment update
Cargo.lock Updated source URLs for all polars-* packages to reference the new revision hash
README.md Updated badge to reflect the new polars revision c241260
src/cmd/sqlp.rs Adapted CsvWriter format methods to use explicit .into() conversions for datetime/date/time formats and null value
src/cmd/joinp.rs Applied same CsvWriter API changes as sqlp.rs for consistency
src/cmd/pivotp.rs Introduced PlSmallStr variable for datetime format to accommodate CsvWriter API change
tests/test_sqlp.rs Updated expected row estimation from 100 to 181, reflecting improved optimizer in new Polars revision

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
@jqnatividad jqnatividad merged commit f65bdfa into master Jan 5, 2026
15 checks passed
@jqnatividad jqnatividad deleted the polars-bump-to-rev-c241260 branch January 5, 2026 01:06
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