voonhous commented on code in PR #20540:
URL: https://github.com/apache/hudi/pull/20540#discussion_r4520652751
##########
hudi-spark-datasource/hudi-spark-common/src/main/scala/org/apache/hudi/ExpressionIndexSupport.scala:
##########
@@ -230,7 +224,7 @@ class ExpressionIndexSupport(spark: SparkSession,
* @param queryColumns target columns to be included into the final table
* @return reshaped table according to the format outlined above
*/
- private def transpose(colStatsRecords:
HoodieData[HoodieMetadataColumnStats], queryColumns: Seq[String],
expressionIndexQuery: Expression): (HoodieData[Row], StructType) = {
+ private def transpose(colStatsRecords:
HoodieData[HoodieMetadataColumnStats], queryColumns: Seq[String], statsType:
DataType): (HoodieData[Row], StructType) = {
Review Comment:
Master fails the same way for `year(ts) = 2023` and `hour(ts) IN (...)`,
since V1 is decoded with the source column's type. Leaving the decoding out of
this PR.
--
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]