linliu-code commented on code in PR #17601:
URL: https://github.com/apache/hudi/pull/17601#discussion_r2744243236
##########
hudi-spark-datasource/hudi-spark-common/src/main/scala/org/apache/hudi/HoodieFileIndex.scala:
##########
@@ -366,10 +365,34 @@ case class HoodieFileIndex(spark: SparkSession,
// threshold (of 100k records)
val shouldReadInMemory = columnStatsIndex.shouldReadInMemory(this,
queryReferencedColumns)
+ // Identify timestamp-millis columns from the Avro schema to skip from
filter translation
+ // (even if they're in the index, they may have been indexed before the
fix and should not be used for filtering)
Review Comment:
UT added.
--
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]