Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[SPARK-44523][SQL] Filter's maxRows/maxRowsPerPartition is 0 if condi…
…tion is FalseLiteral ### What changes were proposed in this pull request? This PR updates Filter's maxRows/maxRowsPerPartition to 0 if condition is `FalseLiteral`. ### Why are the changes needed? Provide an accurate value, as some optimization rules use this value to optimize queries. ### Does this PR introduce _any_ user-facing change? No. ### How was this patch tested? Unit test. Closes apache#42126 from wangyum/SPARK-44523. Lead-authored-by: Yuming Wang <[email protected]> Co-authored-by: Yuming Wang <[email protected]> Signed-off-by: Hyukjin Kwon <[email protected]>
- Loading branch information