[feature](agg) support aggregate function group_array_intersect#33265
[feature](agg) support aggregate function group_array_intersect#33265HappenLee merged 23 commits intoapache:masterfrom
Conversation
|
Thank you for your contribution to Apache Doris. Since 2024-03-18, the Document has been moved to doris-website. |
eb3889e to
96f8c80
Compare
f918d19 to
0784ce8
Compare
|
clang-tidy review says "All clean, LGTM! 👍" |
0784ce8 to
1b3ea07
Compare
1b3ea07 to
6aa4266
Compare
|
run buildall |
TPC-H: Total hot run time: 38737 ms |
|
TeamCity be ut coverage result: |
|
run p0 |
|
run buildall |
|
TeamCity be ut coverage result: |
TPC-H: Total hot run time: 38777 ms |
TPC-DS: Total hot run time: 182549 ms |
ClickBench: Total hot run time: 30.22 s |
|
Load test result on machine: 'aliyun_ecs.c7a.8xlarge_32C64G' |
|
PR approved by at least one committer and no changes requested. |
…ntersect functions (#560) - hll_from_base64, hll_to_base64: master pr: apache/doris#32089 - group_array_intersect: master pr: apache/doris#33265
1. MacOS use libhdfs3, so we need call different function.
this compile error intro by PR apache#33680
2. size_t is not UInt64 on MacOS
this compile error intro by PR apache#33265
1. MacOS use libhdfs3, so we need call different function.
this compile error intro by PR apache#33680
2. size_t is not UInt64 on MacOS
this compile error intro by PR apache#33265
1. MacOS use libhdfs3, so we need call different function.
this compile error intro by PR apache#33680
2. size_t is not UInt64 on MacOS
this compile error intro by PR apache#33265
Proposed changes
Issue Number: #31737
Consider this table named group_array_intersect_test, which has id and c_array_int columns:
we can use group_array_intersect to get the intersect element(s) from given array like these queries:
Furthermore, this function supports all kinds of array type, not only array(int) mentioned above, but also array(varchar()), array(date) and so on.
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...