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] [Assigned] (DRILL-2201) clear error message on join on complex type
Date Mon, 02 Mar 2015 19:14:05 GMT

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

Parth Chandra reassigned DRILL-2201:
------------------------------------

    Assignee: Parth Chandra  (was: Daniel Barclay (Drill))

> clear error message on join on complex type
> -------------------------------------------
>
>                 Key: DRILL-2201
>                 URL: https://issues.apache.org/jira/browse/DRILL-2201
>             Project: Apache Drill
>          Issue Type: Bug
>          Components: Execution - Data Types
>    Affects Versions: 0.8.0
>            Reporter: Chun Chang
>            Assignee: Parth Chandra
>            Priority: Minor
>             Fix For: 1.0.0
>
>
> #Mon Feb 09 15:58:57 EST 2015
> git.commit.id.abbrev=3d863b5
> Dataset can be downloaded from 
> https://s3.amazonaws.com/apache-drill/files/complex.json.gz
> We do not support join condition on complex type. But the error message is not clear
to end user.
> {code}
> 0: jdbc:drill:schema=dfs.drillTestDirComplexJ> select a.id from `complex.json` a left
outer join `complex.json` b on a.oooa=b.oooa;
> Query failed: RemoteRpcException: Failure while running fragment., Failure while trying
to materialize incoming schema.  Errors:
> Error in expression at index 0.  Error: Missing function implementation: [hash(MAP-REQUIRED)].
 Full expression: null.. [ 6a61d61f-670f-4ddc-bb1d-09a47f49f38e on qa-node120.qa.lab:31010
]
> [ 6a61d61f-670f-4ddc-bb1d-09a47f49f38e on qa-node120.qa.lab:31010 ]
> Error: exception while executing query: Failure while executing query. (state=,code=0)
> {code}
> Here oooa is a complex type:
> {code}
> {
>     "oooa": {
>         "oa": {
>             "oab": {
>                 "oabc": [
>                     {
>                         "rowId": 1
>                     },
>                     {
>                         "rowValue1": 1,
>                         "rowValue2": 1
>                     }
>                 ]
>             }
>         }
>     }
> }
> {code}



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

Mime
View raw message