Daniel Becker has posted comments on this change. ( 
http://gerrit.cloudera.org:8080/19569 )

Change subject: IMPALA-11957: Implement Regression functions: regr_slope(), 
regr_intercept() and regr_r2()
......................................................................


Patch Set 18:

(5 comments)

http://gerrit.cloudera.org:8080/#/c/19569/16//COMMIT_MSG
Commit Message:

http://gerrit.cloudera.org:8080/#/c/19569/16//COMMIT_MSG@20
PS16, Line 20:
> I think its needed
Why is it needed? Why should the line be indented one space?


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

http://gerrit.cloudera.org:8080/#/c/19569/18/be/src/exprs/aggregate-functions-ir.cc@316
PS18, Line 316:   dst->ptr = ctx->Allocate(dst->len);
You should initialise 'dst' with AllocBuffer(), otherwise 'dst' will not be set 
to null on failure.


http://gerrit.cloudera.org:8080/#/c/19569/18/be/src/exprs/aggregate-functions-ir.cc@510
PS18, Line 510:   dst->ptr = ctx->Allocate(dst->len);
See L316.


http://gerrit.cloudera.org:8080/#/c/19569/18/be/src/exprs/aggregate-functions-ir.cc@516
PS18, Line 516:
Nit: still empty line.


http://gerrit.cloudera.org:8080/#/c/19569/18/be/src/exprs/aggregate-functions-ir.cc@748
PS18, Line 748:   dst->ptr = ctx->Allocate(dst->len);
See L316.



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

Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: Iab6bd84ae3e0c02ec924c30183308123b951caa3
Gerrit-Change-Number: 19569
Gerrit-PatchSet: 18
Gerrit-Owner: Anonymous Coward <pranav.lo...@cloudera.com>
Gerrit-Reviewer: Anonymous Coward <pranav.lo...@cloudera.com>
Gerrit-Reviewer: Daniel Becker <daniel.bec...@cloudera.com>
Gerrit-Reviewer: Impala Public Jenkins <impala-public-jenk...@cloudera.com>
Gerrit-Reviewer: Kurt Deschler <kdesc...@cloudera.com>
Gerrit-Reviewer: Quanlong Huang <huangquanl...@gmail.com>
Gerrit-Comment-Date: Fri, 18 Aug 2023 08:11:45 +0000
Gerrit-HasComments: Yes

Reply via email to