[SPARK-30186][SQL] support Dynamic Partition Pruning in Adaptive Execution#26814
[SPARK-30186][SQL] support Dynamic Partition Pruning in Adaptive Execution#26814chrysan wants to merge 1 commit intoapache:masterfrom
Conversation
|
ok to test |
|
Test build #115039 has finished for PR 26814 at commit
|
|
@maryannxue FYI |
|
Also cc @cloud-fan |
|
The plan is due to change over the entire process of query execution, so planning the dynamic filters for the whole plan in each re-optimization iteration is definitely the least efficient way. A join can swing from a SMJ to a BHJ or the other way around from time to time, and that affects the applicability of a SubqueryBroadcast DPP filter, and you may end up changing and replanning the filter back and forth. |
Agree with your concern. But in our real production cases, the re-planning effort in AE is worth if DPP can benefit the pruning a lot. I think we can add a switch to let users turn DPP on in AE. |
|
We're closing this PR because it hasn't been updated in a while. This isn't a judgement on the merit of the PR in any way. It's just a way of keeping the PR queue manageable. |
What changes were proposed in this pull request?
To support queries with dynamic partition pruning subqueries work in adaptive query execution.
Why are the changes needed?
Queries' performance can benefit from AE and DPP at the same time.
Does this PR introduce any user-facing change?
NO
How was this patch tested?
Test cases are added.