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

Caican Cai edited comment on CALCITE-6164 at 12/14/23 12:15 AM:
----------------------------------------------------------------

My idea is to tell people how the avg operator is handled in calcite, because 
the avg operator is a special existence in the aggregation operator 
[~julianhyde] 


was (Author: JIRAUSER302115):
My idea is to tell people how the avg operator is handled in calcite, because 
the avg operator is a special existence in the aggregation operator

> add testPushDownProjectAggregateWithAvg on CsvTest
> --------------------------------------------------
>
>                 Key: CALCITE-6164
>                 URL: https://issues.apache.org/jira/browse/CALCITE-6164
>             Project: Calcite
>          Issue Type: Test
>          Components: tests
>    Affects Versions: 1.36.0
>         Environment: linux+java
>            Reporter: Caican Cai
>            Priority: Trivial
>              Labels: pull-request-available
>             Fix For: 1.37.0
>
>
> The avg operator in the agg operator is actually different from the 
> aggregation operators such as max and count, because avg will be split into 
> count/avg. I think the avg operator can be formed into a separate test
> I have observed that some other open source projects display avg tests 
> separately, e.g: spark sql



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

Reply via email to