GitHub user weijietong opened a pull request:

    https://github.com/apache/drill/pull/1016

    DRILL-5913:solve the mixed processing of same functions with same inputRefs 
but di…

    `DrillReduceAggregatesRule` mix the processing of same functions with same 
inputRefs but different dataTypes.
    
    The error info and related reproducible sample sql are 
[here](https://issues.apache.org/jira/browse/DRILL-5913) 
    
    I will also try to concat the Calcite devs to make sure whether they agree 
to make the `RexBuilder.addAggCall` distinguish the same `AggregateCall`s with 
same inputRefs but different dataTypes.

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/weijietong/drill DRILL-5913

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/drill/pull/1016.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #1016
    
----
commit 6a5cee4e8f2c5955f88c20ace182b829a1ecd51e
Author: weijie.tong <[email protected]>
Date:   2017-10-28T12:14:55Z

    solve the mixed processing of same functions of same inputRefs but 
different dataTypes

----


---

Reply via email to