-
Notifications
You must be signed in to change notification settings - Fork 442
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
[Gluten-4706] [CH][CORE] Add a mode to execute count distinct directly instead o… #4708
Conversation
Thanks for opening a pull request! Could you open an issue for this pull request on Github Issues? https://github.com/oap-project/gluten/issues Then could you also rename commit message and pull request title in the following format?
See also: |
Run Gluten Clickhouse CI |
308c7a2
to
dd255f4
Compare
Run Gluten Clickhouse CI |
dd255f4
to
32300b5
Compare
Run Gluten Clickhouse CI |
1 similar comment
Run Gluten Clickhouse CI |
32300b5
to
7e7a0ec
Compare
Run Gluten Clickhouse CI |
} | ||
} | ||
|
||
{ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
missing else
?
.getAttrsIndexForExtensionAggregateExpr( | ||
aggregateFunc, | ||
exp.mode, | ||
exp, | ||
aggregateAttributeList, | ||
aggregateAttr, | ||
index) | ||
} else { | ||
if (option.nonEmpty) { | ||
return option.get |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
why it needs return directly?
7e7a0ec
to
43204a5
Compare
Run Gluten Clickhouse CI |
1 similar comment
Run Gluten Clickhouse CI |
43204a5
to
226cc0b
Compare
Run Gluten Clickhouse CI |
1 similar comment
Run Gluten Clickhouse CI |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
===== Performance report for TPCH SF2000 with Velox backend, for reference only ====
|
…f Expand+Count
What changes were proposed in this pull request?
(Please fill in changes proposed in this fix)
(Fixes: #4706)
How was this patch tested?
(Please explain how this patch was tested. E.g. unit tests, integration tests, manual tests)
(If this patch involves UI changes, please attach a screenshot; otherwise, remove this)