prashantwason opened a new pull request #5179: URL: https://github.com/apache/hudi/pull/5179
## What is the purpose of the pull request Partition metadata files are stored in each partition to help identify the base path of a table. These files are saved in the properties file format. Some query engines do not work when non Parquet/ORC files are found in a partition. Added a new table config 'hoodie.partition.metafile.use.data.format' which when enabled (default false for backward compatibility) ensures that partition metafiles will be saved in the same format as the base files of a dataset. For new datasets, the config can be set via hudi-cli. Deltastreamer has a new parameter --partition-metafile-use-data-format which will create a table with this setting. ## Brief change log 1. New table config 'hoodie.partition.metafile.use.data.format 2. New argument for HoodieDeltaStreamer --partition-metafile-use-data-format 3. Unit tests for table path utils 4. Unit test for copy on write table ## Verify this pull request This change added tests and can be verified as follows: - TestCopyOnWriteActionExecutor#testPartitionMetafileFormat - TestTablePathUtils#getTablePathFromPartitionFolderPath ## Committer checklist - [ ] Has a corresponding JIRA in PR title & commit - [ ] Commit message is descriptive of the change - [ ] CI is green - [ ] Necessary doc changes done or have another open PR - [ ] For large changes, please consider breaking it into sub-tasks under an umbrella JIRA. -- 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: commits-unsubscr...@hudi.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org