HaochengLIU opened a new pull request, #34984: URL: https://github.com/apache/arrow/pull/34984
### Rationale for this change Existing basename_template will only use a monotonically increasing int as new filenames. when there is needs for custom filenames(left padding, hash-code), downstream users must rename the files in a post-processing step. ### What changes are included in this PR? A new functor is added to FileSystemDatasetWriteOptions which allows users to provide a custom name for dataset_writer. ### Are these changes tested? Yes. Unit tests are added for normal and ill-formed lambdas. ### Are there any user-facing changes? Yes. It allows users to customize output file names. * Closes: #34565 \ -- 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]
