The GitHub Actions job "Building and pushing UI frontend and backend images" on 
hamilton.git/main has failed.
Run started by GitHub user skrawcz (triggered by skrawcz).

Head commit for run:
af69af26928087f3096ad9f11a8e33fcfc5043e4 / Yerra SRJ Avinash 
<[email protected]>
Add NDJSON support in polars (#1431)

This PR implements NDJSON (newline-delimited JSON) reader and writer support 
for Polars, following the same pattern as the existing JSON reader/writer 
implementation.
coming from #1197

Changes
Added PolarsNDJSONReader class in 
hamilton/plugins/polars_post_1_0_0_extensions.py

Added PolarsNDJSONWriter class in 
hamilton/plugins/polars_post_1_0_0_extensions.py

Supports writing NDJSON files using data.write_ndjson()

Registered both classes in register_data_loaders() function to make them 
available through the materialization system

Added the following tests:

test_polars_ndjson() in tests/plugins/test_polars_extensions.py for DataFrame 
support
test_polars_ndjson() in tests/plugins/test_polars_lazyframe_extensions.py for 
LazyFrame support
Added example in examples/polars/materialization/my_script.py

How I tested this
Ran the specific NDJSON tests:

pytest tests/plugins/test_polars_extensions.py::test_polars_ndjson -v
pytest tests/plugins/test_polars_lazyframe_extensions.py::test_polars_ndjson -v
Both tests passed

Report URL: https://github.com/apache/hamilton/actions/runs/21085124602

With regards,
GitHub Actions via GitBox

Reply via email to