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

[NSE-475] restore coalescebatches operator before window #486

Merged
merged 2 commits into from
Aug 20, 2021

Conversation

zhouyuan
Copy link
Collaborator

What changes were proposed in this pull request?

This patch restore the coalescebatches before window so the "empty partitions" were removed
Signed-off-by: Yuan Zhou yuan.zhou@intel.com

How was this patch tested?

locally verified

Signed-off-by: Yuan Zhou <yuan.zhou@intel.com>
@github-actions
Copy link

#475

@@ -504,7 +504,7 @@ object ColumnarWindowExec extends Logging {
object ColumnarWindowOptimizations extends RuleExecutor[SparkPlan] {
override protected def batches: Seq[ColumnarWindowOptimizations.Batch] =
Batch("Remove Sort", FixedPoint(10), RemoveSort) ::
Batch("Remove Coalesce Batches", FixedPoint(10), RemoveCoalesceBatches) ::
// Batch("Remove Coalesce Batches", FixedPoint(10), RemoveCoalesceBatches) ::
// Batch("Cast Mutable Types", Once, CastMutableTypes) ::
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

will remove the dead code if CI is green

Signed-off-by: Yuan Zhou <yuan.zhou@intel.com>
@zhouyuan zhouyuan merged commit 64fc1bf into oap-project:master Aug 20, 2021
zhouyuan added a commit to zhouyuan/native-sql-engine that referenced this pull request Aug 20, 2021
…#486)

* restore coalescebatches operator before window

Signed-off-by: Yuan Zhou <yuan.zhou@intel.com>

* remove dead code

Signed-off-by: Yuan Zhou <yuan.zhou@intel.com>
zhouyuan added a commit that referenced this pull request Aug 20, 2021
* restore coalescebatches operator before window

Signed-off-by: Yuan Zhou <yuan.zhou@intel.com>

* remove dead code

Signed-off-by: Yuan Zhou <yuan.zhou@intel.com>
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.

1 participant