You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hudi.apache.org by GitBox <gi...@apache.org> on 2019/05/02 16:12:38 UTC

[GitHub] [incubator-hudi] bvaradar commented on a change in pull request #660: Rollback inflights when using Spark [Streaming] write

bvaradar commented on a change in pull request #660: Rollback inflights when using Spark [Streaming] write
URL: https://github.com/apache/incubator-hudi/pull/660#discussion_r280492649
 
 

 ##########
 File path: hoodie-spark/src/main/java/com/uber/hoodie/DataSourceUtils.java
 ##########
 @@ -149,7 +149,7 @@ public static HoodieWriteClient createHoodieClient(JavaSparkContext jssc, String
         // override above with Hoodie configs specified as options.
         .withProps(parameters).build();
 
-    return new HoodieWriteClient<>(jssc, writeConfig);
+    return new HoodieWriteClient<>(jssc, writeConfig, true);
 
 Review comment:
   @n3nash : IIRC, the DataSource read() path does not instantiate HoodieWriteClient. If that is the case, then the change would be consistent between DeltaStreamer and Spark Source. Let me know if this is ok ?

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


With regards,
Apache Git Services