QuakeWang opened a new pull request, #8400: URL: https://github.com/apache/paimon/pull/8400
### Purpose Python Mosaic writes built data files with `mosaic.write_table(data, stream)` and did not pass table options into Mosaic `WriterOptions`. As a result, Python tables using `file.format=mosaic` ignored configured `mosaic.num-buckets`, `mosaic.stats-columns`, `file.block-size`, and `file.compression.zstd-level`. This PR maps the relevant table options into Mosaic writer options and passes them through Python data writers and FileIO implementations. ### Tests - `python -m pytest pypaimon/tests/mosaic_writer_options_test.py -q` - `python -m pytest pypaimon/tests/test_format_mosaic_reader_writer.py pypaimon/tests/mosaic_writer_options_test.py -q` -- 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]
