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:
[email protected]


With regards,
Apache Git Services

Reply via email to