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 2022/07/23 04:14:56 UTC

[GitHub] [hudi] xushiyan commented on a diff in pull request #6045: [WIP][HUDI-4345] Enable partition pruning and projection for incremental query on COW table

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: commits-unsubscribe@hudi.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org