Mihaly Szjatinya has posted comments on this change. ( http://gerrit.cloudera.org:8080/24889 )
Change subject: IMPALA-15106: Support missing types with theta sketches ...................................................................... Patch Set 4: (6 comments) http://gerrit.cloudera.org:8080/#/c/24889/1//COMMIT_MSG Commit Message: http://gerrit.cloudera.org:8080/#/c/24889/1//COMMIT_MSG@47 PS1, Line 47: - TIMESTAMP: Added DsThetaUpdate<TimestampVal> specialisation that > >as we follow Iceberg and they don't Done - added a note right after the table. http://gerrit.cloudera.org:8080/#/c/24889/3//COMMIT_MSG Commit Message: http://gerrit.cloudera.org:8080/#/c/24889/3//COMMIT_MSG@11 PS3, Line 11: to all types for which COMPUTE STATS com > nit: to all types where COMPUTE stats compute NDV - for example geometry ha Done. http://gerrit.cloudera.org:8080/#/c/24889/3//COMMIT_MSG@39 PS3, Line 39: Appendix D. IMPALA-15459 adds a separate, internal flavour that encodes > It could be highlighted that this is the only case where the conversion is Done. Added a note. http://gerrit.cloudera.org:8080/#/c/24889/1/be/src/exprs/aggregate-functions-ir.cc File be/src/exprs/aggregate-functions-ir.cc: http://gerrit.cloudera.org:8080/#/c/24889/1/be/src/exprs/aggregate-functions-ir.cc@2791 PS1, Line 2791: void AggregateFunctions::DsThetaUpdate( > Could call into the same function? IMO this is complex enough to worth extr Done - extracted to be/src/util/bit-util.h http://gerrit.cloudera.org:8080/#/c/24889/1/be/src/exprs/aggregate-functions-test.cc File be/src/exprs/aggregate-functions-test.cc: http://gerrit.cloudera.org:8080/#/c/24889/1/be/src/exprs/aggregate-functions-test.cc@209 PS1, Line 209: AggregateFunctions::DsThetaSerialize, > Nanosec precision timestamps that need rounding could be also tested, both Done. http://gerrit.cloudera.org:8080/#/c/24889/3/testdata/workloads/functional-query/queries/QueryTest/datasketches-theta.test File testdata/workloads/functional-query/queries/QueryTest/datasketches-theta.test: http://gerrit.cloudera.org:8080/#/c/24889/3/testdata/workloads/functional-query/queries/QueryTest/datasketches-theta.test@57 PS3, Line 57: # representations: d1/d6 are decimal4 (precision <= 9), d2/d5 are decimal8 (precision > There should be tests for multiple decimal sizes. Done. -- To view, visit http://gerrit.cloudera.org:8080/24889 To unsubscribe, visit http://gerrit.cloudera.org:8080/settings Gerrit-Project: Impala-ASF Gerrit-Branch: master Gerrit-MessageType: comment Gerrit-Change-Id: I549a51ba96d0b9be2052a9350efe2096c1755816 Gerrit-Change-Number: 24889 Gerrit-PatchSet: 4 Gerrit-Owner: Mihaly Szjatinya <[email protected]> Gerrit-Reviewer: Csaba Ringhofer <[email protected]> Gerrit-Reviewer: Impala Public Jenkins <[email protected]> Gerrit-Reviewer: Mihaly Szjatinya <[email protected]> Gerrit-Reviewer: Peter Rozsa <[email protected]> Gerrit-Comment-Date: Tue, 13 Oct 2026 13:14:46 +0000 Gerrit-HasComments: Yes
