Skip to content
This repository has been archived by the owner on Sep 18, 2023. It is now read-only.

[NSE-27]Reuse exchage to optimize DPP performance #28

Merged

Conversation

xuechendi
Copy link
Collaborator

@xuechendi xuechendi commented Jan 11, 2021

Signed-off-by: Chendi Xue [email protected]

Fixed: #27

verified with tpcds_v1_sf500_dpp and tpcds_v2_sf500

@xuechendi xuechendi changed the title [NSE-27]Reuse exchage to optimize DPP performance [NSE-27][DNM]Reuse exchage to optimize DPP performance Jan 11, 2021
@github-actions
Copy link

@xuechendi xuechendi force-pushed the wip_reuse_broadcastexchange_in_dpp branch from bbe68e9 to ee63f8b Compare January 12, 2021 06:31
@github-actions
Copy link

@xuechendi xuechendi force-pushed the wip_reuse_broadcastexchange_in_dpp branch from ee63f8b to 50e7db0 Compare January 12, 2021 07:56
1. besides, also changed ColumnarUnionExec as case class

Signed-off-by: Chendi Xue <[email protected]>
@github-actions
Copy link

when AQE enabled, it only accept ShuffleExchangeExec and BroadcastExchangeExec, so if we use case class for ColumnarShuffleExchangeExec and ColumnarBroadcastExchangeExec, it will go exception in AQE
To fix this, we add a shadow class who extends ShuffleExchangeExec or BroadcastExchangeExec while actually call ColumnarShuffleExchangeExec and ColumnarBroadcastExchangeExec implementation

Then we will use supportAdaptive check to see if we should instantiate shadow class or case class to both support DPP and AQE

Signed-off-by: Chendi Xue <[email protected]>
@xuechendi xuechendi force-pushed the wip_reuse_broadcastexchange_in_dpp branch 2 times, most recently from 5be82df to d433318 Compare January 13, 2021 08:21
@github-actions
Copy link

@xuechendi xuechendi changed the title [NSE-27][DNM]Reuse exchage to optimize DPP performance [NSE-27]Reuse exchage to optimize DPP performance Jan 13, 2021
@github-actions
Copy link

@xuechendi
Copy link
Collaborator Author

@zhouyuan , updated, now it will check if SQLConf.get.adaptiveExecutionEnabled is true in supportAdaptive function.

@github-actions
Copy link

@zhouyuan zhouyuan merged commit 6a8e413 into oap-project:master Jan 14, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Support REUSE exchange when DPP enabled
2 participants