drill-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Parth Chandra (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (DRILL-2457) aggregation function on complex type should give appropriate error
Date Thu, 02 Apr 2015 23:08:52 GMT

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

Parth Chandra updated DRILL-2457:
---------------------------------
    Assignee: Mehant Baid  (was: Parth Chandra)

> aggregation function on complex type should give appropriate error 
> -------------------------------------------------------------------
>
>                 Key: DRILL-2457
>                 URL: https://issues.apache.org/jira/browse/DRILL-2457
>             Project: Apache Drill
>          Issue Type: Bug
>          Components: Functions - Drill
>    Affects Versions: 0.8.0
>            Reporter: Chun Chang
>            Assignee: Mehant Baid
>            Priority: Critical
>             Fix For: 0.9.0
>
>
> #Fri Mar 06 16:51:10 EST 2015
> git.commit.id.abbrev=fb293ba
> Apply aggregation function on complex data should error out with appropriate error message
instead of returning null.
> {code}
> 0: jdbc:drill:schema=dfs.drillTestDirComplexJ> select t.soa[1] from `complex.json`
t limit 1;
> +------------+
> |   EXPR$0   |
> +------------+
> | {"in":1,"fl":1.12345} |
> +------------+
> 1 row selected (0.169 seconds)
> 0: jdbc:drill:schema=dfs.drillTestDirComplexJ> select avg(t.soa[1]) from `complex.json`
t;
> +--+
> |  |
> +--+
> +--+
> No rows selected (0.164 seconds)
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message