minihippo commented on code in PR #7722:
URL: https://github.com/apache/hudi/pull/7722#discussion_r1083457659
##########
hudi-spark-datasource/hudi-spark-common/src/main/scala/org/apache/hudi/DefaultSource.scala:
##########
@@ -110,7 +110,8 @@ class DefaultSource extends RelationProvider
}
log.info("Obtained hudi table path: " + tablePath)
- val metaClient =
HoodieTableMetaClient.builder().setConf(fs.getConf).setBasePath(tablePath).build()
+ val metaClient =
HoodieTableMetaClient.builder().setProperties(optParams.asJava)
+ .setConf(fs.getConf).setBasePath(tablePath).build()
Review Comment:
cause the metaserver enabled is not stored at hoodie.properties, it have to
be configured expicity when reading. But the read options aren't transferred to
the HoodieMetaClient
--
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]