Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[SPARK-21652][SQL][FOLLOW-UP] Fix rule conflict caused by InferFilter…
…sFromConstraints ## What changes were proposed in this pull request? The optimizer rule `InferFiltersFromConstraints` could trigger our batch `Operator Optimizations` exceeds the max iteration limit (i.e., 100) so that the final plan might not be properly optimized. The rule `InferFiltersFromConstraints` could conflict with the other Filter/Join predicate reduction rules. Thus, we need to separate `InferFiltersFromConstraints` from the other rules. This PR is to separate `InferFiltersFromConstraints ` from the main batch `Operator Optimizations` . ## How was this patch tested? The existing test cases. Author: gatorsmile <gatorsmile@gmail.com> Closes #19149 from gatorsmile/inferFilterRule.
- Loading branch information
1 parent
ee56fc3
commit ef10f45
Showing
1 changed file
with
64 additions
and
51 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters