codope commented on code in PR #12707:
URL: https://github.com/apache/hudi/pull/12707#discussion_r1929833041


##########
hudi-spark-datasource/hudi-spark/src/test/scala/org/apache/spark/sql/hudi/command/index/TestExpressionIndex.scala:
##########
@@ -1163,14 +1163,14 @@ class TestExpressionIndex extends 
HoodieSparkSqlTestBase {
         val unixTimestamp = resolveExpr(spark, 
unapply(functions.unix_timestamp(functions.col("date"), "yyyy-MM-dd")).get, 
tableSchema)
         literal = Literal.create(1732924800L)
         dataFilter = EqualTo(unixTimestamp, literal)
-        verifyPartitionPruning(opts, Seq(), Seq(dataFilter), metaClient, 
isDataSkippingExpected = true)
+        // verifyPartitionPruning(opts, Seq(), Seq(dataFilter), metaClient, 
isDataSkippingExpected = true)
         spark.sql(s"drop index idx_unix on $tableName")
 
         spark.sql(s"create index idx_to_date on $tableName using 
column_stats(date) options(expr='to_date', format='yyyy-MM-dd')")
         metaClient = HoodieTableMetaClient.reload(metaClient)
         val toDate = resolveExpr(spark, 
unapply(functions.to_date(functions.col("date"), "yyyy-MM-dd")).get, 
tableSchema)
         dataFilter = EqualTo(toDate, lit(18230).expr)
-        verifyPartitionPruning(opts, Seq(), Seq(dataFilter), metaClient, 
isDataSkippingExpected = true)
+        // verifyPartitionPruning(opts, Seq(), Seq(dataFilter), metaClient, 
isDataSkippingExpected = true)

Review Comment:
   fixed in 
https://github.com/apache/hudi/pull/12707/commits/c0e338897a349b88777576a814ffd8d0ec18fc66



-- 
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]

Reply via email to