HUDI-131 Zero FIle Listing in Compactor run
This commit is contained in:
committed by
vinoth chandar
parent
4074c5eb23
commit
99b0c72aa6
@@ -110,6 +110,11 @@ public class CompactionOperation implements Serializable {
|
||||
return id;
|
||||
}
|
||||
|
||||
public Option<HoodieDataFile> getBaseFile() {
|
||||
//TODO: HUDI-130 - Paths return in compaction plan needs to be relative to base-path
|
||||
return dataFilePath.map(df -> new HoodieDataFile(df));
|
||||
}
|
||||
|
||||
/**
|
||||
* Convert Avro generated Compaction operation to POJO for Spark RDD operation
|
||||
* @param operation Hoodie Compaction Operation
|
||||
|
||||
Reference in New Issue
Block a user