Uh oh!
There was an error while loading. Please reload this page.
GH-2967: Support unified config options for convert parquet-cli - #3283
Conversation
ArnavBalyan
commented
Aug 27, 2025
- Added --conf parameter that accepts user's key=value configuration pairs
- users can now configure any Avro/Parquet setting via CLI.
- The conf can be passed any number of times with the user defined values and will be appended to the internally constructed config.
- Fixes: Providing parquet-avro configuration to parquet-cli #2967
ArnavBalyan
commented
Aug 27, 2025
cc @gszadovszky@shangxinli could you please review thanks! |
gszadovszky
left a comment
There was a problem hiding this comment.
This is a great improvement. Thanks a lot for working on it!
I have two ideas to improve it:
- What do you think about adding the conf support centrally for every commands by setting it in Main?
- Maybe adding an additional option that supports reading a config file (and the config pairs at command line can override these values)?
ArnavBalyan
commented
Aug 28, 2025
Thanks for the review and great suggestions! I'll address them shortly. |
ArnavBalyan
commented
Aug 28, 2025
Added global config support through Main, can I take the file based config feature in a follow up PR or should we add it here @gszadovszky? thanks! |
gszadovszky
commented
Aug 29, 2025
@ArnavBalyan, it is up to you. It was just an improvement idea. I'm fine having it in a separate PR. |
ArnavBalyan
commented
Aug 29, 2025
The file based config would probably be very useful, I can take it up in a follow up PR, will go through more code to understand where it can be best added thanks |
gszadovszky
left a comment
There was a problem hiding this comment.
@ArnavBalyan, unfortunately, we do not have end-to-end tests for parquet-cli. Were you able to validate this manually?
- Are the conf key-value pairs really reach the related code path at different commands?
- Is the
--confargument properly described in the help?
It looks good to me otherwise.
ArnavBalyan
commented
Aug 29, 2025
Thank you so much for the review, I'll check if we can add some more end to end tests for the CLI. I verified manually that the configs are correctly reaching the other side to the command, example output from one of the manual logs: The above configs were passed through the --config option. It seems to be well described in help, pls let me know if we should add anything else thanks! |
ArnavBalyan
commented
Aug 31, 2025
cc @gszadovszky can this be merged if all looks good? Have raised #3296 to introduce e2e testing thanks! |
gszadovszky
commented
Sep 1, 2025
Thanks for the ping, @ArnavBalyan. I usually don't like merging just when I'm approving to give some time for other comments. But 3 days are more than enough... |
Uh oh!
There was an error while loading. Please reload this page.
ArnavBalyan
commented
Sep 1, 2025
Oh got it thanks! 👍 |