You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat: Add truncated_rows parameter to register_csv and read_csv
Exposes the truncated_rows parameter from Rust DataFusion to Python bindings.
This enables reading CSV files with inconsistent column counts by creating a
union schema and filling missing columns with nulls.
The parameter was added to DataFusion Rust in PR apache/datafusion#17553
and is now available in datafusion 51.0.0.
Changes:
- Add truncated_rows parameter to SessionContext.register_csv()
- Add truncated_rows parameter to SessionContext.read_csv()
- Add comprehensive tests for both methods
- Update docstrings with parameter documentation
Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
0 commit comments