Skip to content

perf: Don't infer CSV schema if schema is set#27507

Merged
orlp merged 1 commit intopola-rs:mainfrom
orlp:no-infer-if-set
May 5, 2026
Merged

perf: Don't infer CSV schema if schema is set#27507
orlp merged 1 commit intopola-rs:mainfrom
orlp:no-infer-if-set

Conversation

@orlp
Copy link
Copy Markdown
Member

@orlp orlp commented May 5, 2026

Fixes #27456.

@orlp orlp requested review from c-peters and ritchie46 as code owners May 5, 2026 11:41
@github-actions github-actions Bot added A-io-csv Area: reading/writing CSV files performance Performance issues or improvements python Related to Python Polars rust Related to Rust Polars labels May 5, 2026
@orlp
Copy link
Copy Markdown
Member Author

orlp commented May 5, 2026

@nameexhaustion Could you review this? Not sure if this has unknown implications.

@codecov
Copy link
Copy Markdown

codecov Bot commented May 5, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 79.85%. Comparing base (1156024) to head (8997fb7).
⚠️ Report is 4 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main   #27507      +/-   ##
==========================================
- Coverage   81.14%   79.85%   -1.29%     
==========================================
  Files        1834     1834              
  Lines      254891   254896       +5     
  Branches     3177     3177              
==========================================
- Hits       206823   203545    -3278     
- Misses      47246    50529    +3283     
  Partials      822      822              

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

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@orlp orlp merged commit e291b4b into pola-rs:main May 5, 2026
29 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

A-io-csv Area: reading/writing CSV files performance Performance issues or improvements python Related to Python Polars rust Related to Rust Polars

Projects

None yet

Development

Successfully merging this pull request may close these issues.

infer_schema = True very long despite schema or schema_overrides

2 participants