You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe.
In current, when GPU overrides are applied, DPP can not reuse BroadcastExchange as subquery. The reason is that rapids plugin will fall back the broadcast exchange for subquery into CPU, since we have not supported SubqueryBroadcastExec on GPU yet. Meanwhile, the original broadcast exchange, which is supposed to be reused for subquery, is converted into GpuBroadcastExchange. Therefore, the planned reuse of exchange doesn't carry on in terms of the final plan.
Here is a comparison between CPU plan and GPU plan of DPP through broadcast reuse:
Describe the solution you'd like
Implement GpuSubqueryBroadcastExec, which is able to reuse GpuBroadcastExchangeExec in row-wise view (Array of UnsafeRow).
The text was updated successfully, but these errors were encountered:
Signed-off-by: sperlingxx lovedreamf@gmail.com
Closes#4027
Current PR is to support reusing broadcast exchange for SubqueryBroadcast (which inserted by DPP) on the GPU. Current PR can only reuse GpuBroadcast when AQE is off. We need to modify GpuBroadcastToCpuExec to reuse
GpuBroadcast with AQE on.
Is your feature request related to a problem? Please describe.
In current, when GPU overrides are applied, DPP can not reuse BroadcastExchange as subquery. The reason is that rapids plugin will fall back the broadcast exchange for subquery into CPU, since we have not supported
SubqueryBroadcastExec
on GPU yet. Meanwhile, the original broadcast exchange, which is supposed to be reused for subquery, is converted into GpuBroadcastExchange. Therefore, the planned reuse of exchange doesn't carry on in terms of the final plan.Here is a comparison between CPU plan and GPU plan of DPP through broadcast reuse:
Describe the solution you'd like
Implement
GpuSubqueryBroadcastExec
, which is able to reuse GpuBroadcastExchangeExec in row-wise view (Array of UnsafeRow).The text was updated successfully, but these errors were encountered: