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/06 07:51:19 UTC
[GitHub] [hudi] Aiden-Dong commented on a diff in pull request #5945: [HUDI-4308] READ_OPTIMIZED read mode will temporary loss of data when compaction
Aiden-Dong commented on code in PR #5945:
URL: https://github.com/apache/hudi/pull/5945#discussion_r914527086
##########
hudi-spark-datasource/hudi-spark-common/src/main/scala/org/apache/hudi/HoodieFileIndex.scala:
##########
@@ -303,6 +304,7 @@ object HoodieFileIndex extends Logging {
sqlConf.getConfString(HoodieMetadataConfig.ENABLE.key(),
HoodieMetadataConfig.DEFAULT_METADATA_ENABLE_FOR_READERS.toString))
properties.putAll(options.filter(p => p._2 != null).asJava)
+ properties.put(QUERY_TYPE.key, DataSourceReadOptions.QUERY_TYPE_SNAPSHOT_OPT_VAL)
properties
Review Comment:
thanks for your suggestion
--
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