[HUDI-1772] HoodieFileGroupId compareTo logical error(fileId self compare) (#2780)
This commit is contained in:
@@ -69,7 +69,7 @@ public class HoodieFileGroupId implements Serializable, Comparable<HoodieFileGro
|
|||||||
public int compareTo(HoodieFileGroupId o) {
|
public int compareTo(HoodieFileGroupId o) {
|
||||||
int ret = partitionPath.compareTo(o.partitionPath);
|
int ret = partitionPath.compareTo(o.partitionPath);
|
||||||
if (ret == 0) {
|
if (ret == 0) {
|
||||||
ret = fileId.compareTo(fileId);
|
ret = fileId.compareTo(o.fileId);
|
||||||
}
|
}
|
||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user