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

[NSE-942] Force to use hash aggregate for string type input #941

Merged
merged 6 commits into from
Jun 8, 2022

Conversation

PHILO-HE
Copy link
Collaborator

What changes were proposed in this pull request?

Currently, gazelle only supports hash agg. But spark has a logic to use sort agg for string type input. This patch will force to use hash agg for such case.

How was this patch tested?

One UT is added.

@github-actions
Copy link

Thanks for opening a pull request!

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

https://github.com/oap-project/native-sql-engine/issues

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

[NSE-${ISSUES_ID}] ${detailed message}

See also:

@PHILO-HE PHILO-HE changed the title Force to use hash aggregate for string type input [NSE-942] Force to use hash aggregate for string type input May 27, 2022
@github-actions
Copy link

#942

@PHILO-HE PHILO-HE marked this pull request as draft June 2, 2022 03:16
@zhouyuan zhouyuan marked this pull request as ready for review June 8, 2022 08:48
@zhouyuan
Copy link
Collaborator

zhouyuan commented Jun 8, 2022

related: #730

@zhouyuan
Copy link
Collaborator

zhouyuan commented Jun 8, 2022

note: this patch converts sortAgg to hashAgg, we will check the performance after merging

@zhouyuan zhouyuan merged commit a7ff199 into oap-project:main Jun 8, 2022
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