You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@drill.apache.org by "Stefán Baxter (JIRA)" <ji...@apache.org> on 2015/07/22 16:46:04 UTC
[jira] [Created] (DRILL-3541) Average does not work with intervals
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
(v6.3.4#6332)