-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
coprocessor: support builtin aggregation function bit_and
, 'bit_or
, bit_xor
.
#2510
Conversation
Hi contributor, thanks for your PR. This patch needs to be approved by someone of admins. They should reply with "/ok-to-test" to accept this PR for running test automatically. |
Please fix the CI |
@breeswish @winkyao PTAL |
@AndreMouche to make ci work, pingcap/tipb#67 must be checked in first. |
@hanfei1991 PTAL |
Conflicts: src/coprocessor/statistics/analyze.rs
dba229b
to
67a2107
Compare
Should be merge after #2503 because some other |
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.
It seems tidb
haven't implemented, @hanfei1991 PTAL
Cargo.lock
Outdated
@@ -1207,7 +1207,7 @@ dependencies = [ | |||
"checksum thread-id 2.0.0 (registry+https://github.com/rust-lang/crates.io-index)" = "a9539db560102d1cef46b8b78ce737ff0bb64e7e18d35b2a5688f7d097d0ff03" | |||
"checksum thread_local 0.2.7 (registry+https://github.com/rust-lang/crates.io-index)" = "8576dbbfcaef9641452d5cf0df9b0e7eeab7694956dd33bb61515fb8f18cfdd5" | |||
"checksum time 0.1.38 (registry+https://github.com/rust-lang/crates.io-index)" = "d5d788d3aa77bc0ef3e9621256885555368b47bd495c13dd2e7413c89f845520" | |||
"checksum tipb 0.0.1 (git+https://github.com/pingcap/tipb.git)" = "<none>" | |||
"checksum tipb 0.0.1 (git+https://github.com/spongedu/tipb.git)" = "<none>" |
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.
Please make a pull request to tipb
first
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.
@AndreMouche the tipb
part has done in pingcap/tipb#66 with some other modifications. Thus this pr should be done after #2503 . I'll correct the cargo dependency after #2503 's checkin. The modification here is just to make tests happy.
@AndreMouche I'm also working on the tidb part. It's in progress. |
Thanks, I've got it. We would like to review this PR after related PRs merged @spongedu |
5a572ef
to
0ea270a
Compare
0ea270a
to
4123943
Compare
@AndreMouche the related PRs have been merged. I've revert the changes in |
4123943
to
6640fc2
Compare
@hanfei1991 @breeswish PTAL |
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 @hanfei1991 @breeswish PTAL
tests/coprocessor/test_select.rs
Outdated
fn max(self, col: Column) -> Select<'a> { | ||
self.aggr_col(col, ExprType::Max) | ||
} | ||
|
||
|
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.
Please remove the redundant empty line
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.
ok
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 @hanfei1991 @breeswish @XuHuaiyu PTAL
Please fix the conflicts @spongedu |
be80b7e
to
f4c7921
Compare
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
/ok-to-test |
/run-all-tests |
The related modification in
tipb
is : pingcap/tipb#67