[email protected] 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 <[email protected]>
