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

[feature](function) support bitmap type in min/max_by agg function #25430

Merged
merged 1 commit into from Oct 16, 2023

Conversation

zhangstar333
Copy link
Contributor

Proposed changes

support bitmap type in min/max_by agg function

Issue Number: close #xxx

Further comments

If this is a relatively large or complex change, kick off the discussion at dev@doris.apache.org by explaining why you chose the solution you did and what alternatives you considered, etc...

@zhangstar333
Copy link
Contributor Author

run buildall

@github-actions
Copy link
Contributor

clang-tidy review says "All clean, LGTM! 👍"

Copy link
Contributor

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

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

clang-tidy made some suggestions

}
}

void change(const IColumn& column, size_t row_num, Arena*) {
Copy link
Contributor

Choose a reason for hiding this comment

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

warning: all parameters should be named in a function [readability-named-parameter]

Suggested change
void change(const IColumn& column, size_t row_num, Arena*) {
void change(const IColumn& column, size_t row_num, Arena* /*unused*/) {

value = assert_cast<const ColumnBitmap&>(column).get_data()[row_num];
}

void change(const Self& to, Arena*) {
Copy link
Contributor

Choose a reason for hiding this comment

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

warning: all parameters should be named in a function [readability-named-parameter]

Suggested change
void change(const Self& to, Arena*) {
void change(const Self& to, Arena* /*unused*/) {

@doris-robot
Copy link

TeamCity be ut coverage result:
Function Coverage: 36.27% (8146/22459)
Line Coverage: 28.50% (65310/229133)
Region Coverage: 27.19% (33832/124424)
Branch Coverage: 23.99% (17262/71952)
Coverage Report: http://coverage.selectdb-in.cc/coverage/779e437443e7bcf4ec83c283fcdf6ea37b74fe36_779e437443e7bcf4ec83c283fcdf6ea37b74fe36/report/index.html

@doris-robot
Copy link

(From new machine)TeamCity pipeline, clickbench performance test result:
the sum of best hot time: 45.45 seconds
stream load tsv: 574 seconds loaded 74807831229 Bytes, about 124 MB/s
stream load json: 22 seconds loaded 2358488459 Bytes, about 102 MB/s
stream load orc: 64 seconds loaded 1101869774 Bytes, about 16 MB/s
stream load parquet: 32 seconds loaded 861443392 Bytes, about 25 MB/s
insert into select: 29.2 seconds inserted 10000000 Rows, about 342K ops/s
storage size: 17162452716 Bytes

Copy link
Contributor

@HappenLee HappenLee left a comment

Choose a reason for hiding this comment

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

LGTM

Copy link
Contributor

@Gabriel39 Gabriel39 left a comment

Choose a reason for hiding this comment

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

LGTM

@github-actions github-actions bot added the approved Indicates a PR has been approved by one committer. label Oct 16, 2023
@github-actions
Copy link
Contributor

PR approved by at least one committer and no changes requested.

@github-actions
Copy link
Contributor

PR approved by anyone and no changes requested.

@yiguolei yiguolei merged commit 9649e09 into apache:master Oct 16, 2023
24 of 25 checks passed
@wm1581066 wm1581066 added dev/2.0.3 usercase Important user case type label labels Oct 17, 2023
@wm1581066
Copy link
Collaborator

TT

xiaokang pushed a commit that referenced this pull request Oct 18, 2023
dutyu pushed a commit to dutyu/doris that referenced this pull request Oct 28, 2023
@xiaokang xiaokang mentioned this pull request Dec 4, 2023
XuJianxu pushed a commit to XuJianxu/doris that referenced this pull request Dec 14, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved Indicates a PR has been approved by one committer. dev/2.0.3-merged reviewed usercase Important user case type label
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

7 participants