cxzl25 opened a new pull request #28383: URL: https://github.com/apache/spark/pull/28383
### What changes were proposed in this pull request? When the filter used by OptimizeMetadataOnlyQuery is Unevaluable, this rule should not be used. ### Why are the changes needed? Applying `OptimizeMetadataOnlyQuery` rule will generate `scalar-subquery`. Apply the `OptimizeMetadataOnlyQuery` rule again, will get the exception `Cannot evaluate expression: scalar-subquery`. ### Does this PR introduce any user-facing change? No ### How was this patch tested? add UT ---------------------------------------------------------------- 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. For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org For additional commands, e-mail: reviews-h...@spark.apache.org