Details
-
Bug
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
0.8.0
-
None
Description
#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.
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)
Here oooa is a complex type:
{ "oooa": { "oa": { "oab": { "oabc": [ { "rowId": 1 }, { "rowValue1": 1, "rowValue2": 1 } ] } } } }