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-2182) Error message not clear when we try to apply flatten on a non-repeated column
Date Tue, 07 Apr 2015 23:45:13 GMT

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

Parth Chandra updated DRILL-2182:
---------------------------------
    Fix Version/s:     (was: 0.9.0)
                   1.1.0

> Error message not clear when we try to apply flatten on a non-repeated column
> -----------------------------------------------------------------------------
>
>                 Key: DRILL-2182
>                 URL: https://issues.apache.org/jira/browse/DRILL-2182
>             Project: Apache Drill
>          Issue Type: Bug
>          Components: Functions - Drill
>            Reporter: Rahul Challapalli
>            Assignee: Daniel Barclay (Drill)
>            Priority: Minor
>             Fix For: 1.1.0
>
>
> git.commit.id.abbrev=c54bd6a
> When we apply flatten on an integer column, the error message is obscure
> {code}
> 0: jdbc:drill:schema=dfs_eea> select flatten(uid) from `data1.json`;
> Query failed: RemoteRpcException: Failure while running fragment., org.apache.drill.exec.vector.NullableBigIntVector
cannot be cast to org.apache.drill.exec.vector.RepeatedVector [ 1a8a5802-d67b-4a86-82ff-098d997f696a
on qa-node191.qa.lab:31010 ]
> [ 1a8a5802-d67b-4a86-82ff-098d997f696a on qa-node191.qa.lab:31010 ]
> Error: exception while executing query: Failure while executing query. (state=,code=0)
> {code}
> Below is the case for a map. This is an improvement from the above case. However I am
not sure whether user's understand what a repeated type is
> {code}
> 0: jdbc:drill:schema=dfs_eea> select flatten(map) from `data1.json`;
> Query failed: RemoteRpcException: Failure while running fragment., Trying to flatten
a non-repeated filed. [ 9c80ff81-59eb-4a14-9359-a639f03763ed on qa-node191.qa.lab:31010 ]
> [ 9c80ff81-59eb-4a14-9359-a639f03763ed on qa-node191.qa.lab:31010 ]
> Error: exception while executing query: Failure while executing query. (state=,code=0)
> {code}



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

Mime
View raw message