[ 
https://issues.apache.org/jira/browse/DRILL-3541?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Krystal updated DRILL-3541:
---------------------------
    Labels: interval  (was: )

> 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
>            Priority: Minor
>              Labels: interval
>             Fix For: Future
>
>
> 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
(v6.3.4#6332)

Reply via email to