Details
-
Bug
-
Status: Open
-
Major
-
Resolution: Unresolved
-
None
-
None
-
None
Description
There are some incorrect replace operation to sort all partition paths.
return allPartitionPaths.stream().map(partition -> partition.replace("/", "-")) .sorted(Comparator.reverseOrder()).map(partitionPath -> partitionPath.replace("-", "/"))
the hive partition before replace is dllr_date=2023-10-10, then after will convert to dllr_date=2023/10/10, this is an incorrect partition.
- org.apache.hudi.table.action.compact.strategy.DayBasedCompactionStrategy
- org.apache.hudi.table.action.compact.strategy.BoundedPartitionAwareCompactionStrategy
- org.apache.hudi.table.action.compact.strategy.UnBoundedPartitionAwareCompactionStrategy