HaochengLIU opened a new issue, #34565: URL: https://github.com/apache/arrow/issues/34565
### Describe the enhancement requested Hi, I want to report a feature request as nowadays dataset_writer only supports [basename_template with kIntegerToken](https://github.com/apache/arrow/blob/main/cpp/src/arrow/dataset/dataset_writer.cc#L427-L441). Say I have file 0.parquet, 1,parquet, ..., 10.parquet, 11.parquet and 12.parquet. It does not work with alphabetical sorter and downstream users must implement lexicographic sorter accordingly. In my case, I need to touch quite a few codebases to support hive style partition parquet in my org. I propose to add a new option which allows left padding with zeros. so the names will be 001,parquet, ...,010.parquet, 011.parquet and 012.parquet. Let me know thoughts and suggestions as I can help with the contribution. ### Component(s) C++ -- 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]
