Csaba Ringhofer has posted comments on this change. ( 
http://gerrit.cloudera.org:8080/16095 )

Change subject: IMPALA-9633: Implement ds_hll_union()
......................................................................


Patch Set 4:

(2 comments)

http://gerrit.cloudera.org:8080/#/c/16095/4/be/src/exprs/aggregate-functions-ir.cc
File be/src/exprs/aggregate-functions-ir.cc:

http://gerrit.cloudera.org:8080/#/c/16095/4/be/src/exprs/aggregate-functions-ir.cc@1736
PS4, Line 1736: DS_SKETCH_CONFIG, DS_HLL_TYPE
Do these configs matter, or they are overwritten during deserialization? My 
understanding is that we should be able to union sketches with different 
configs. See 
https://datasketches.apache.org/docs/Architecture/SketchCriteria.html / 
Mergeable With Different Size Parameters


http://gerrit.cloudera.org:8080/#/c/16095/4/fe/src/main/java/org/apache/impala/catalog/BuiltinsDb.java
File fe/src/main/java/org/apache/impala/catalog/BuiltinsDb.java:

http://gerrit.cloudera.org:8080/#/c/16095/4/fe/src/main/java/org/apache/impala/catalog/BuiltinsDb.java@1336
PS4, Line 1336:     Lists.<Type>newArrayList(Type.STRING), Type.STRING, 
Type.STRING,
              :     prefix + 
"14DsHllUnionInitEPN10impala_udf15FunctionContextEPNS1_9StringValE",
              :     prefix + 
"16DsHllUnionUpdateEPN10impala_udf15FunctionContextERKNS1_9StringValEPS4_",
              :     prefix + 
"15DsHllUnionMergeEPN10impala_udf15FunctionContextERKNS1_9StringValEPS4_",
              :     prefix + 
"19DsHllUnionSerializeEPN10impala_udf15FunctionContextERKNS1_9StringValE",
              :     prefix + 
"18DsHllUnionFinalizeEPN10impala_udf15FunctionContextERKNS1_9StringValE",
              :     true, false, true));
nit: indentation



--
To view, visit http://gerrit.cloudera.org:8080/16095
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: I67cdbf6f3ebdb1296fea38465a15642bc9612d09
Gerrit-Change-Number: 16095
Gerrit-PatchSet: 4
Gerrit-Owner: Gabor Kaszab <gaborkas...@cloudera.com>
Gerrit-Reviewer: Csaba Ringhofer <csringho...@cloudera.com>
Gerrit-Reviewer: Gabor Kaszab <gaborkas...@cloudera.com>
Gerrit-Reviewer: Impala Public Jenkins <impala-public-jenk...@cloudera.com>
Gerrit-Comment-Date: Tue, 07 Jul 2020 19:46:20 +0000
Gerrit-HasComments: Yes

Reply via email to