Chun Chang created DRILL-2201: --------------------------------- Summary: 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: Daniel Barclay (Drill/MapR) Priority: Minor
#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)