leesf commented on a change in pull request #940: [HUDI-130] Paths written in 
compaction plan needs to be relative to base-path
URL: https://github.com/apache/incubator-hudi/pull/940#discussion_r331748366
 
 

 ##########
 File path: 
hudi-common/src/main/java/org/apache/hudi/common/model/CompactionOperation.java
 ##########
 @@ -64,7 +64,7 @@ public CompactionOperation(Option<HoodieDataFile> dataFile, 
String partitionPath
       List<HoodieLogFile> logFiles, Map<String, Double> metrics) {
     if (dataFile.isPresent()) {
       this.baseInstantTime = dataFile.get().getCommitTime();
-      this.dataFilePath = Option.of(dataFile.get().getPath());
+      this.dataFilePath = Option.of(dataFile.get().getFileName());
 
 Review comment:
   Should this rename to dataFileName?

----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to