drill-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stefán Baxter (JIRA) <j...@apache.org>
Subject [jira] [Created] (DRILL-3541) Average does not work with intervals
Date Wed, 22 Jul 2015 14:46:04 GMT
Stefán Baxter created DRILL-3541:

             Summary: Average does not work with intervals
                 Key: DRILL-3541
                 URL: https://issues.apache.org/jira/browse/DRILL-3541
             Project: Apache Drill
          Issue Type: Bug
          Components: Query Planning & Optimization
    Affects Versions: 1.1.0
            Reporter: Stefán Baxter
            Assignee: Jinfeng Ni
            Priority: Minor

avg(<some-interval-value>) returns:

Error: SYSTEM ERROR: SchemaChangeException: Failure while materializing expression. 
Error in expression at index 0.  Error: Missing function implementation: [$sum0(INTERVALDAY-OPTIONAL)].
 Full expression: null.
Fragment 1:2
[Error Id: 80171750-ac7b-4910-9319-8f4420f2b07f on localhost:31010] (state=,code=0)

in my case this is the result of avg(<timestamp>-<timestamp>).

This message was sent by Atlassian JIRA

View raw message