liujiwen-up opened a new pull request, #439: URL: https://github.com/apache/paimon-rust/pull/439
### Purpose Add a Python binding for reading planned Paimon splits into PyArrow `RecordBatch` objects. This PR is based on the existing `feat/py-read-builder-pr3` work and includes a small follow-up to align the Python type stub with runtime behavior: `TableRead.read` accepts any iterable of `Split` objects, not only sequences. Linked issue: none. ### Brief change log - Add `ReadBuilder.new_read()` and `TableRead.read(splits)` to the Python DataFusion binding. - Share read configuration application between scan planning and split reading. - Return PyArrow record batches from planned splits. - Validate read configuration before the empty-splits fast path. - Widen the Python stub type from `Sequence[Split]` to `Iterable[Split]` and cover generator input. ### Tests - `cd bindings/python && make build`: passed - `cd bindings/python && uv run --no-sync pytest tests/test_read.py`: 35 passed ### API and Format Adds Python binding API surface for table reads. No storage format changes. ### Documentation No documentation update in this PR; the change is covered by Python tests and type stubs. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
