vinothchandar 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_r347705820
##########
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:
metapoint.. Should we have a `TransactionHandle` abstraction that takes the
a given write operation through these stages, instead of just typing in the
code at different places.. Would help add validation and logging easily.
----------------------------------------------------------------
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