bvaradar commented on a change in pull request #1009:  [HUDI-308] Avoid Renames 
for tracking state transitions of all actions on dataset
URL: https://github.com/apache/incubator-hudi/pull/1009#discussion_r354196674
 
 

 ##########
 File path: hudi-client/src/main/java/org/apache/hudi/HoodieWriteClient.java
 ##########
 @@ -345,6 +346,9 @@ public static SparkConf registerClasses(SparkConf conf) {
     final List<String> fileIDPrefixes =
         IntStream.range(0, parallelism).mapToObj(i -> 
FSUtils.createNewFileIdPfx()).collect(Collectors.toList());
 
+    table.getActiveTimeline().transitionRequestedToInflight(new 
HoodieInstant(State.REQUESTED,
 
 Review comment:
   Agree. This would make state transitions more manageable. Filed a jira to 
track this as a follow-up : https://jira.apache.org/jira/browse/HUDI-383

----------------------------------------------------------------
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:
us...@infra.apache.org


With regards,
Apache Git Services

Reply via email to