Alexander Saydakov has posted comments on this change. ( http://gerrit.cloudera.org:8080/17869 )
Change subject: IMPALA-10956: datasketches UDFs: memory leak and merge overhead ...................................................................... Patch Set 3: (1 comment) > please write once again if you want the code to be merged as it is or add > updates I would suggest merging as is, and do another round of improvements separately once the dependency problem is resolved. http://gerrit.cloudera.org:8080/#/c/17869/3/be/src/exprs/aggregate-functions-ir.cc File be/src/exprs/aggregate-functions-ir.cc: http://gerrit.cloudera.org:8080/#/c/17869/3/be/src/exprs/aggregate-functions-ir.cc@1689 PS3, Line 1689: agg_state_ptr->second = new (ctx->Allocate<datasketches::hll_sketch>()) : datasketches::hll_sketch(DS_SKETCH_CONFIG, DS_HLL_TYPE); > I agree that it is a great improvement as it is. If the processing can start from merge, then indeed we can do lazy initialization, but let's not worry about this right now. -- To view, visit http://gerrit.cloudera.org:8080/17869 To unsubscribe, visit http://gerrit.cloudera.org:8080/settings Gerrit-Project: Impala-ASF Gerrit-Branch: master Gerrit-MessageType: comment Gerrit-Change-Id: I8dd0e6736f4266f74f5f265f58d40a4e4707287f Gerrit-Change-Number: 17869 Gerrit-PatchSet: 3 Gerrit-Owner: Alexander Saydakov <al...@apache.org> Gerrit-Reviewer: Alexander Saydakov <al...@apache.org> Gerrit-Reviewer: Csaba Ringhofer <csringho...@cloudera.com> Gerrit-Reviewer: Fucun Chu <chufu...@hotmail.com> Gerrit-Reviewer: Impala Public Jenkins <impala-public-jenk...@cloudera.com> Gerrit-Comment-Date: Wed, 08 Dec 2021 20:43:19 +0000 Gerrit-HasComments: Yes