[ 
https://issues.apache.org/jira/browse/IMPALA-13468?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17894706#comment-17894706
 ] 

ASF subversion and git services commented on IMPALA-13468:
----------------------------------------------------------

Commit 33631047f804e6ed41644c1294e277fc1e9ba358 in impala's branch 
refs/heads/master from Steve Carlin
[ https://gitbox.apache.org/repos/asf?p=impala.git;h=33631047f ]

IMPALA-13468: Fix various aggregation issues in aggregation.test

Various small issues fixed including:

- There is a special operator dedicated to scalar functions not handled in
  Calcite. The special agg operator equivalent was created (ImpalaAggOperator)

- Grouping_id function needs to be handled in a special way, calling
  AggregateFunction.createRewrittenFunction

- A custom Avg operator was created to handle avg(TIMESTAMP) which isn't allowed
  in Calcite.

- A custom Min/Max operator was created to handle min(NULL) and min(char types).

- The corr, covar_pop, and covar_samp functions use the default Impala function
  resolver rather than the Calcite resolver.

Change-Id: I038127d6a2f228ae8d263e983b1906e99ae05f77
Reviewed-on: http://gerrit.cloudera.org:8080/21961
Reviewed-by: Michael Smith <[email protected]>
Tested-by: Impala Public Jenkins <[email protected]>
Reviewed-by: Joe McDonnell <[email protected]>


> Calcite planner: fix aggregation.test queries
> ---------------------------------------------
>
>                 Key: IMPALA-13468
>                 URL: https://issues.apache.org/jira/browse/IMPALA-13468
>             Project: IMPALA
>          Issue Type: Sub-task
>            Reporter: Steve Carlin
>            Priority: Major
>




--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to