Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[SPARK-38013][SQL][TEST] AQE can change bhj to smj if no extra shuffl…
…e introduce ### What changes were proposed in this pull request? Add a test case in `AdaptiveQueryExecSuite`. ### Why are the changes needed? AQE can change bhj to smj, and it requires two conditions: - no extra shuffle introduce, otherwise the built-in cost evaluator will ban it - AQE does not think the join can be planned as broadcast join. That says the cost statistics in normal planner is not accurate. It's counterintuitive, but it's an expected behavior as AQE designed. ### Does this PR introduce _any_ user-facing change? no ### How was this patch tested? Pass CI Closes apache#35353 from ulysses-you/bhj-smj. Authored-by: ulysses-you <ulyssesyou18@gmail.com> Signed-off-by: Dongjoon Hyun <dongjoon@apache.org> (cherry picked from commit dc2fd57) Signed-off-by: Dongjoon Hyun <dongjoon@apache.org>
- Loading branch information