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

[NSE-120] Columnar window: Reduce peak memory usage and fix performance issues #121

Merged
merged 2 commits into from
Feb 24, 2021

Conversation

zhztheplayer
Copy link
Collaborator

In TPC-DS this is typically for query 67 to improve the huge RANK window.

@github-actions

This comment has been minimized.

@zhztheplayer zhztheplayer changed the title Columnar window: Reduce peak memory usage and fix performance issues [NS-120] Columnar window: Reduce peak memory usage and fix performance issues Feb 22, 2021
@zhztheplayer zhztheplayer changed the title [NS-120] Columnar window: Reduce peak memory usage and fix performance issues [NSE-120] Columnar window: Reduce peak memory usage and fix performance issues Feb 22, 2021
@github-actions
Copy link

#120

@zhztheplayer
Copy link
Collaborator Author

At SF1000:

Vanilla Spark:
Screenshot from 2021-02-22 10-11-55

Before (ColumnarWindow disabled):
Screenshot from 2021-02-22 10-12-09

After:
Screenshot from 2021-02-22 10-11-29

@github-actions
Copy link


@github-actions
Copy link


case s: CoalesceBatchesExec =>
s.child
case _ => sortRemoved
}
Copy link
Collaborator

Choose a reason for hiding this comment

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

nice finding!

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.

2 participants