You are viewing a plain text version of this content. The canonical link for it is here.
Posted to reviews@impala.apache.org by "Anonymous Coward (Code Review)" <ge...@cloudera.org> on 2024/02/07 17:37:36 UTC

[Impala-ASF-CR] IMPALA-12794: Average Independent Variable Calculator: regr avgx() support in Impala

pranav.lodha@cloudera.com has uploaded this change for review. ( http://gerrit.cloudera.org:8080/21009


Change subject: IMPALA-12794: Average Independent Variable Calculator: regr_avgx() support in Impala
......................................................................

IMPALA-12794: Average Independent Variable Calculator: regr_avgx()
support in Impala

regr_avgx() is a function designed for statistical analysis and
regression modeling. The primary purpose of this function is to calculate
the average value of the independent variable (X) within a dataset that is
used for linear regression. Linear regression involves predicting a
dependent variable based on the values of one or more independent variables,
and understanding the average value of the independent variable can be
crucial for interpreting and validating the regression model.

Users can incorporate this function into their regression workflows to gain
insights into the central tendency of the independent variable, aiding in the
interpretation of regression coefficients and the overall performance of the
regression model.

Testing:
The functions are extensively tested and cross-checked with Hive.
The tests can be found in aggregation.test.

Change-Id: I58ddb1383aeffbdb574e14d63aa044d9654a174f
---
M be/src/exprs/aggregate-functions-ir.cc
M be/src/exprs/aggregate-functions.h
M fe/src/main/java/org/apache/impala/catalog/BuiltinsDb.java
M testdata/workloads/functional-query/queries/QueryTest/aggregation.test
4 files changed, 403 insertions(+), 0 deletions(-)



  git pull ssh://gerrit.cloudera.org:29418/Impala-ASF refs/changes/09/21009/1
-- 
To view, visit http://gerrit.cloudera.org:8080/21009
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: newchange
Gerrit-Change-Id: I58ddb1383aeffbdb574e14d63aa044d9654a174f
Gerrit-Change-Number: 21009
Gerrit-PatchSet: 1
Gerrit-Owner: Anonymous Coward <pr...@cloudera.com>

[Impala-ASF-CR] IMPALA-12794: Average Independent Variable Calculator: regr avgx() support in Impala

Posted by "Impala Public Jenkins (Code Review)" <ge...@cloudera.org>.
Impala Public Jenkins has posted comments on this change. ( http://gerrit.cloudera.org:8080/21009 )

Change subject: IMPALA-12794: Average Independent Variable Calculator: regr_avgx() support in Impala
......................................................................


Patch Set 1:

Build Successful 

https://jenkins.impala.io/job/gerrit-code-review-checks/15201/ : Initial code review checks passed. Use gerrit-verify-dryrun-external or gerrit-verify-dryrun to run full precommit tests.


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

Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: I58ddb1383aeffbdb574e14d63aa044d9654a174f
Gerrit-Change-Number: 21009
Gerrit-PatchSet: 1
Gerrit-Owner: Anonymous Coward <pr...@cloudera.com>
Gerrit-Reviewer: Anonymous Coward <pr...@cloudera.com>
Gerrit-Reviewer: Daniel Becker <da...@cloudera.com>
Gerrit-Reviewer: Impala Public Jenkins <im...@cloudera.com>
Gerrit-Comment-Date: Wed, 07 Feb 2024 18:03:35 +0000
Gerrit-HasComments: No

[Impala-ASF-CR] IMPALA-12794: Average Independent Variable Calculator: regr avgx() support in Impala

Posted by "Impala Public Jenkins (Code Review)" <ge...@cloudera.org>.
Impala Public Jenkins has posted comments on this change. ( http://gerrit.cloudera.org:8080/21009 )

Change subject: IMPALA-12794: Average Independent Variable Calculator: regr_avgx() support in Impala
......................................................................


Patch Set 1:

(1 comment)

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

http://gerrit.cloudera.org:8080/#/c/21009/1/be/src/exprs/aggregate-functions-ir.cc@404
PS1, Line 404: DoubleVal AggregateFunctions::RegrAvgXFinalize(FunctionContext* ctx, const StringVal& src) {
line too long (92 > 90)



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

Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: I58ddb1383aeffbdb574e14d63aa044d9654a174f
Gerrit-Change-Number: 21009
Gerrit-PatchSet: 1
Gerrit-Owner: Anonymous Coward <pr...@cloudera.com>
Gerrit-Reviewer: Impala Public Jenkins <im...@cloudera.com>
Gerrit-Comment-Date: Wed, 07 Feb 2024 17:38:35 +0000
Gerrit-HasComments: Yes

[Impala-ASF-CR] IMPALA-12794: Average Independent Variable Calculator: regr avgx() support in Impala

Posted by "Pranav Lodha (Code Review)" <ge...@cloudera.org>.
Pranav Lodha has abandoned this change. ( http://gerrit.cloudera.org:8080/21009 )

Change subject: IMPALA-12794: Average Independent Variable Calculator: regr_avgx() support in Impala
......................................................................


Abandoned

Old patch
-- 
To view, visit http://gerrit.cloudera.org:8080/21009
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: abandon
Gerrit-Change-Id: I58ddb1383aeffbdb574e14d63aa044d9654a174f
Gerrit-Change-Number: 21009
Gerrit-PatchSet: 2
Gerrit-Owner: Pranav Lodha <pr...@cloudera.com>
Gerrit-Reviewer: Daniel Becker <da...@cloudera.com>
Gerrit-Reviewer: Impala Public Jenkins <im...@cloudera.com>
Gerrit-Reviewer: Pranav Lodha <pr...@cloudera.com>