voonhous commented on issue #20255: URL: https://github.com/apache/hudi/issues/20255#issuecomment-7407127968
Fixed on master by #20540. An expression index is now a range source of the data skipping stages, and `IndexedExpression.matches` only accepts a term that is the index's own function over its column, with the same options. A filter on another function of the column, or on the bare column, no longer reads the index's stats. Covered by `TestDataSkippingStages#testExpressionIndexHoldsOnlyItsOwnExpression` and the `minute(ts)` / `ts` cases against an `hour(ts)` index in `TestExpressionIndex`. Closing; please reopen if it still reproduces on master. -- 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]
