You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@paimon.apache.org by "QuakeWang (via GitHub)" <gi...@apache.org> on 2026/06/30 16:14:17 UTC

[PR] [python] Pass Mosaic options to writer [paimon]

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: issues-unsubscribe@paimon.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] [python] Pass Mosaic options to writer [paimon]

Posted by "JingsongLi (via GitHub)" <gi...@apache.org>.
JingsongLi commented on PR #8400:
URL: https://github.com/apache/paimon/pull/8400#issuecomment-4850548841

   +1


-- 
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: issues-unsubscribe@paimon.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] [python] Pass Mosaic options to writer [paimon]

Posted by "JingsongLi (via GitHub)" <gi...@apache.org>.
JingsongLi merged PR #8400:
URL: https://github.com/apache/paimon/pull/8400


-- 
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: issues-unsubscribe@paimon.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org