Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Merged
merged 2 commits into from
Jun 18, 2024

Conversation

zhztheplayer
Copy link
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

Copy link

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:

Copy link

Run Gluten Clickhouse CI

3 similar comments
Copy link

Run Gluten Clickhouse CI

Copy link

Run Gluten Clickhouse CI

Copy link

Run Gluten Clickhouse CI

r

remove sort
Copy link

Run Gluten Clickhouse CI

1 similar comment
@zhztheplayer
Copy link
Member Author

Run Gluten Clickhouse CI

@zhztheplayer zhztheplayer marked this pull request as ready for review June 18, 2024 01:00
@zhztheplayer zhztheplayer merged commit eb653ba into apache:main Jun 18, 2024
39 checks passed
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
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