wombatu-kun opened a new pull request, #8994: URL: https://github.com/apache/hudi/pull/8994
### Change Logs Flink COW table reads partition spec from file instead of file path (when the table is not in hive style partitioning), while In MOR table partition specs generation was correct. I extracted that correct common functionality to static method generatePartitionSpecs in FilePathUtils class and called it from MergerOnReadInputFormat and CopyOnWriteInputFormat. Also i added flinkConf property to CopyOnWriteFormat to get access to all needed configuration properties in one place instead of adding a number of separate fields such as partDefaultName, utcTimestamp, hiveStylePartitioning. ### Impact none ### Risk level (write none, low medium or high below) none ### Documentation Update none ### Contributor's checklist - [ ] Read through [contributor's guide](https://hudi.apache.org/contribute/how-to-contribute) - [ ] Change Logs and Impact were stated clearly - [ ] Adequate tests were added if applicable - [ ] CI passed -- 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]
