xushiyan commented on code in PR #6045:
URL: https://github.com/apache/hudi/pull/6045#discussion_r928074958


##########
hudi-spark-datasource/hudi-spark-common/src/main/scala/org/apache/hudi/DefaultSource.scala:
##########
@@ -120,7 +120,7 @@ class DefaultSource extends RelationProvider
              (MERGE_ON_READ, QUERY_TYPE_READ_OPTIMIZED_OPT_VAL, false) =>
           resolveBaseFileOnlyRelation(sqlContext, globPaths, userSchema, 
metaClient, parameters)
         case (COPY_ON_WRITE, QUERY_TYPE_INCREMENTAL_OPT_VAL, _) =>
-          new IncrementalRelation(sqlContext, parameters, userSchema, 
metaClient)
+          new CopyOnWriteIncrementalRelation(sqlContext, parameters, 
userSchema, metaClient)

Review Comment:
   if we want to land this for 0.12, we should have a config to guard, 
otherwise risky



-- 
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.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to