This is an automated email from the ASF dual-hosted git repository.

yihua pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/hudi.git


The following commit(s) were added to refs/heads/master by this push:
     new 83bb7ae1b18 [MINOR] Fix the flag for bootstrap (#10056)
83bb7ae1b18 is described below

commit 83bb7ae1b1884f37bfb75de11c643f722309746c
Author: Lin Liu <141371752+linliu-c...@users.noreply.github.com>
AuthorDate: Fri Nov 10 09:14:46 2023 -0800

    [MINOR] Fix the flag for bootstrap (#10056)
---
 .../src/main/scala/org/apache/hudi/DefaultSource.scala                  | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 
a/hudi-spark-datasource/hudi-spark-common/src/main/scala/org/apache/hudi/DefaultSource.scala
 
b/hudi-spark-datasource/hudi-spark-common/src/main/scala/org/apache/hudi/DefaultSource.scala
index c88eb08cf7c..bdaf1257e57 100644
--- 
a/hudi-spark-datasource/hudi-spark-common/src/main/scala/org/apache/hudi/DefaultSource.scala
+++ 
b/hudi-spark-datasource/hudi-spark-common/src/main/scala/org/apache/hudi/DefaultSource.scala
@@ -281,7 +281,7 @@ object DefaultSource {
         case (MERGE_ON_READ, QUERY_TYPE_SNAPSHOT_OPT_VAL, true) =>
           if (fileFormatUtils.isDefined) {
             new HoodieMergeOnReadSnapshotHadoopFsRelationFactory(
-              sqlContext, metaClient, parameters, userSchema, isBootstrap = 
false).build()
+              sqlContext, metaClient, parameters, userSchema, isBootstrap = 
true).build()
           } else {
             HoodieBootstrapMORRelation(sqlContext, userSchema, globPaths, 
metaClient, parameters)
           }

Reply via email to