Fucun Chu has uploaded this change for review. ( http://gerrit.cloudera.org:8080/17440
Change subject: IMPALA-10689: Implement ds_cpc_union_f() function. ...................................................................... IMPALA-10689: Implement ds_cpc_union_f() function. This function receives two strings that are serialized Apache DataSketches CPC sketches. Union two sketches and returns the resulting sketch of union. Example: select ds_cpc_estimate(ds_cpc_union_f(sketch1, sketch2)) from sketch_tbl; +---------------------------------------------------+ | ds_cpc_estimate(ds_cpc_union_f(sketch1, sketch2)) | +---------------------------------------------------+ | 15 | +---------------------------------------------------+ Change-Id: Ib5c616316bf2bf2ff437678e9a44a15339920150 --- M be/src/exprs/datasketches-common.cc M be/src/exprs/datasketches-common.h M be/src/exprs/datasketches-functions-ir.cc M be/src/exprs/datasketches-functions.h M common/function-registry/impala_functions.py M testdata/workloads/functional-query/queries/QueryTest/datasketches-cpc.test 6 files changed, 140 insertions(+), 1 deletion(-) git pull ssh://gerrit.cloudera.org:29418/Impala-ASF refs/changes/40/17440/3 -- To view, visit http://gerrit.cloudera.org:8080/17440 To unsubscribe, visit http://gerrit.cloudera.org:8080/settings Gerrit-Project: Impala-ASF Gerrit-Branch: master Gerrit-MessageType: newchange Gerrit-Change-Id: Ib5c616316bf2bf2ff437678e9a44a15339920150 Gerrit-Change-Number: 17440 Gerrit-PatchSet: 3 Gerrit-Owner: Fucun Chu <[email protected]> Gerrit-Reviewer: Gabor Kaszab <[email protected]> Gerrit-Reviewer: Impala Public Jenkins <[email protected]>
