yihua commented on code in PR #13546:
URL: https://github.com/apache/hudi/pull/13546#discussion_r2205744662


##########
hudi-spark-datasource/hudi-spark/src/test/scala/org/apache/spark/sql/hudi/feature/index/TestExpressionIndex.scala:
##########
@@ -1784,7 +1758,7 @@ class TestExpressionIndex extends HoodieSparkSqlTestBase {
           .filterCompletedInstants().lastInstant().get().requestedTime
         
assertTrue(metaClient.getTableConfig.getMetadataPartitions.contains(s"expr_index_idx_bloom_$tableName"))
         assertTrue(metaClient.getIndexMetadata.isPresent)
-        assertEquals(2, 
metaClient.getIndexMetadata.get.getIndexDefinitions.size())
+        assertEquals(1, 
metaClient.getIndexMetadata.get.getIndexDefinitions.size())

Review Comment:
   Column stats definition is also stored in the index definition file (column 
stats are enabled by default on Spark), thus 2 as the expected number of index 
definitions.  Do you see column stats is enabled in this test table?



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