Repository navigation
[MatrixCamp] Add Aggregate function bit_and - #2092
Conversation
d3f1335 to
aafe0b4
Compare
aafe0b4 to
b7cd553
Compare
There was a problem hiding this comment.
Generally, the use of underscores in package names is not recommended in golang,
We suggest you keep your package name and directory the same.
you can change the package name and directory from bit_and to bitand @noneback
and other code is good.
And so sorry that we change the tutorial for aggregate function yesterday. you can read it, and we need you to provide a results of simple performance tests while pull request. you can just comment it at pr.
|
Ok. I will fix it. Thx for your review. |
Is there any better way to download the test data rather than baidu-netdisk? Downloading via a browser will be way better than it. @m-schen |
b7cd553 to
29052ec
Compare
If you find baidu-Netdisk too slow, maybe this weiyun disk link for downloading this dataset helps: https://share.weiyun.com/rF3HjsSR code:9u8xz8 |
I think it is still quite slow. Maybe aliyundrive will be better. Can you upload it again? |
if you are not Mac, you can download the code and generate data yourself. Or 我有会员,你需要吗 |
Aliyundrive doesn't support sharing this kind of file. We will upload it to a Tencent Cloud object storage for faster downloading, the link will be shared later. |
|
I will try to generate it. Thx. |
The fast download link: |
That will be helpful. Thx. |
|
I have tested as the tutorial says. Here is the result.@m-schen
+---------------------+
| bit_and(LO_SUPPKEY) |
+---------------------+
| 0 |
+---------------------+
1 row in set (0.379 sec)
MySQL [ssb]> select SUM(LO_SUPPKEY) from lineorder_flat;
+-----------------+
| sum(LO_SUPPKEY) |
+-----------------+
| 1033298590 |
+-----------------+
1 row in set (0.313 sec)
|
m-schen
left a comment
There was a problem hiding this comment.
get it. code is good. thanks.
yingfeng
left a comment
There was a problem hiding this comment.
Do not modify go.mod since matrixcube has been upgraded
I don't get it. It seems I never modify |
yingfeng
left a comment
There was a problem hiding this comment.
I made a mistake. It's OK
What type of PR is this?
Which issue(s) this PR fixes:
issue #1993
What this PR does / why we need it:
Add aggregate function bit_and
Special notes for your reviewer:
Not Available
Additional documentation (e.g. design docs, usage docs, etc.):
Not Available