[email protected] has uploaded this change for review. ( 
http://gerrit.cloudera.org:8080/20936


Change subject: IMPALA-12744: Support for regr_count() aggregate function
......................................................................

IMPALA-12744: Support for regr_count() aggregate function

regr_count() function can be used both as aggregate and
analytic functions and are commonly used in regression analysis.

regr_count(y, x) returns an integer that is the number of non-null
number pairs. It indicates how many observations are included in the
analysis.

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

Change-Id: I773d1e0edc8a9c8ee003f75721f4844685b2eb38
---
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, 306 insertions(+), 0 deletions(-)



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

Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: newchange
Gerrit-Change-Id: I773d1e0edc8a9c8ee003f75721f4844685b2eb38
Gerrit-Change-Number: 20936
Gerrit-PatchSet: 1
Gerrit-Owner: Anonymous Coward <[email protected]>

Reply via email to