This repository has been archived by the owner on Sep 18, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 75
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[NSE-27]Reuse exchage to optimize DPP performance (#28)
* Reuse exchage to optimize DPP performance Signed-off-by: Chendi Xue <chendi.xue@intel.com> * Since we use case class now, remove unnecessary 'new' word 1. besides, also changed ColumnarUnionExec as case class Signed-off-by: Chendi Xue <chendi.xue@intel.com> * Fix case class Exchange may break AQE issue 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 <chendi.xue@intel.com> * also check if sqlconf enabled AQE in supportAdaptive function Signed-off-by: Chendi Xue <chendi.xue@intel.com>
- Loading branch information
Showing
13 changed files
with
470 additions
and
130 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
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
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
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
Oops, something went wrong.