Skip to content

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

Merged
yiguolei merged 1 commit into
apache:masterfrom
zhangstar333:max_by
Oct 16, 2023
Merged

[feature](function) support bitmap type in min/max_by agg function#25430
yiguolei merged 1 commit into
apache:masterfrom
zhangstar333:max_by

Conversation

@zhangstar333

Copy link
Copy Markdown
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
Copy Markdown
ContributorAuthor

run buildall

@github-actions

Copy link
Copy Markdown
Contributor

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

@github-actionsgithub-actionsBot left a comment

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.

clang-tidy made some suggestions

}
}

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

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.

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

Suggested change
voidchange(constIColumn&column, size_trow_num, Arena*) {
voidchange(constIColumn&column, size_trow_num, Arena*/*unused*/) {

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

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

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.

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

Suggested change
voidchange(constSelf&to, Arena*) {
voidchange(constSelf&to, Arena*/*unused*/) {

@doris-robot

Copy link
Copy Markdown

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
Copy Markdown

(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

@HappenLeeHappenLee left a comment

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.

LGTM

@Gabriel39Gabriel39 left a comment

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.

LGTM

@github-actionsgithub-actionsBot added the approved Indicates a PR has been approved by one committer. label Oct 16, 2023
@github-actions

Copy link
Copy Markdown
Contributor

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

@github-actions

Copy link
Copy Markdown
Contributor

PR approved by anyone and no changes requested.

@yiguolei
yiguolei merged commit 9649e09 into apache:masterOct 16, 2023
@wm1581066wm1581066 added dev/2.0.3 usercase Important user case type label labels Oct 17, 2023
@wm1581066

Copy link
Copy Markdown

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
@xiaokangxiaokang 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 freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

approvedIndicates a PR has been approved by one committer.dev/2.0.3-mergedreviewedusercaseImportant user case type label

Projects

None yet

Development

Successfully merging this pull request may close these issues.

7 participants

@zhangstar333@doris-robot@wm1581066@HappenLee@Gabriel39@xiaokang@yiguolei