You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[HUDI-2938] Metadata table util to get latest file slices for reader/writers
- Readers would want to get the latest file slices merged with the last
known committed instants just before the pending compaction if any, and
Writers would want to get the latest file slices without merging with any.
- Refactoring the code so that the readers and writers can use the right version
Copy file name to clipboardExpand all lines: hudi-client/hudi-client-common/src/main/java/org/apache/hudi/metadata/HoodieBackedTableMetadataWriter.java
Copy file name to clipboardExpand all lines: hudi-client/hudi-flink-client/src/main/java/org/apache/hudi/metadata/FlinkHoodieBackedTableMetadataWriter.java
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -154,7 +154,7 @@ protected void commit(HoodieData<HoodieRecord> hoodieDataRecords, String partiti
154
154
* The record is tagged with respective file slice's location based on its record key.
Copy file name to clipboardExpand all lines: hudi-client/hudi-spark-client/src/main/java/org/apache/hudi/metadata/SparkHoodieBackedTableMetadataWriter.java
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -169,7 +169,7 @@ protected void commit(HoodieData<HoodieRecord> hoodieDataRecords, String partiti
169
169
* The record is tagged with respective file slice's location based on its record key.
Copy file name to clipboardExpand all lines: hudi-client/hudi-spark-client/src/test/java/org/apache/hudi/client/functional/TestHoodieBackedMetadata.java
-2Lines changed: 0 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -414,10 +414,8 @@ public void testVirtualKeysInBaseFiles(boolean populateMetaFields) throws Except
414
414
});
415
415
}
416
416
417
-
418
417
/**
419
418
* Tests that virtual key configs are honored in base files after compaction in metadata table.
0 commit comments