geserdugarov opened a new pull request, #12405: URL: https://github.com/apache/hudi/pull/12405
### Change Logs There are confusing warnings in logs: ```Text [ScalaTest-main-running-TestPartitionStatsIndexWithSql] WARN org.apache.hudi.HoodieFileIndex [] - No partition columns available from hoodie.properties. Partition pruning will not work [ScalaTest-main-running-TestPartitionStatsIndexWithSql] WARN org.apache.hudi.HoodieFileIndex [] - Data skipping requires Metadata Table and at least one of the indices to be enabled! (isMetadataTableEnabled = false, isColumnStatsIndexEnabled = false, isRecordIndexApplicable = false, isExpressionIndexEnabled = false, isBucketIndexEnable = false, isPartitionStatsIndexEnabled = false), isBloomFiltersIndexEnabled = false) ``` during reading of metadata table, for instance, in `TestSecondaryIndex @Test Secondary Index With Updates Compaction Clustering Deletes`. There is no partitioning for metadata table. This PR fixes this logging logic. ### Impact No ### Risk level (write none, low medium or high below) No ### Documentation Update No need ### Contributor's checklist - [x] Read through [contributor's guide](https://hudi.apache.org/contribute/how-to-contribute) - [x] Change Logs and Impact were stated clearly - [x] Adequate tests were added if applicable - [ ] CI passed -- 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]
