Skip to content

[VL] RAS: New rule RemoveSort to remove unnecessary sorts#6107

Merged
zhztheplayer merged 2 commits intoapache:mainfrom
zhztheplayer:wip-ras-removesort
Jun 18, 2024
Merged

[VL] RAS: New rule RemoveSort to remove unnecessary sorts#6107
zhztheplayer merged 2 commits intoapache:mainfrom
zhztheplayer:wip-ras-removesort

Conversation

@zhztheplayer
Copy link
Copy Markdown
Member

@zhztheplayer zhztheplayer commented Jun 17, 2024

In RAS, removes input side sort if parent node is shuffled hash join or hash aggregation.

Related to #6093

@github-actions
Copy link
Copy Markdown

Thanks for opening a pull request!

Could you open an issue for this pull request on Github Issues?

https://github.com/apache/incubator-gluten/issues

Then could you also rename commit message and pull request title in the following format?

[GLUTEN-${ISSUES_ID}][COMPONENT]feat/fix: ${detailed message}

See also:

@github-actions
Copy link
Copy Markdown

Run Gluten Clickhouse CI

3 similar comments
@github-actions
Copy link
Copy Markdown

Run Gluten Clickhouse CI

@github-actions
Copy link
Copy Markdown

Run Gluten Clickhouse CI

@github-actions
Copy link
Copy Markdown

Run Gluten Clickhouse CI

r

remove sort
@github-actions
Copy link
Copy Markdown

Run Gluten Clickhouse CI

1 similar comment
@zhztheplayer
Copy link
Copy Markdown
Member Author

Run Gluten Clickhouse CI

@zhztheplayer zhztheplayer marked this pull request as ready for review June 18, 2024 01:00
case (Nil, sort: SortExecTransformer) =>
// Parent doesn't ask for sorted input from this child but a sort op was somehow added.
// Remove it.
sort.child
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

It can't remove sort which has pre-project.
Is it possible to make branch support grand children?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants