You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@drill.apache.org by "Mehant Baid (JIRA)" <ji...@apache.org> on 2014/06/03 19:12:01 UTC

[jira] [Updated] (DRILL-822) Conversion to relational algebra failed to preserve datatypes

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

Mehant Baid updated DRILL-822:
------------------------------

    Component/s:     (was: Functions - Drill)
                 Query Planning & Optimization

> Conversion to relational algebra failed to preserve datatypes
> -------------------------------------------------------------
>
>                 Key: DRILL-822
>                 URL: https://issues.apache.org/jira/browse/DRILL-822
>             Project: Apache Drill
>          Issue Type: Bug
>          Components: Query Planning & Optimization
>            Reporter: Zhiyong Liu
>
> Datasources: TPCH (10MB), three-way split parquet files
> git.commit.id.abbrev=2fad21d
> git.commit.id=2fad21d5a6ec43bb68fb989e48b6da180f23f73a
> 0: jdbc:drill:schema=dfs.TpcHMulti> select * from region order by r_regionkey;
> Query failed: org.apache.drill.exec.rpc.RpcException: Remote failure while running query.[error_id: "2f293a00-2cf6-4663-b961-7cde388efeb5"
> endpoint {
>   address: "perfnode104.perf.lab"
>   user_port: 31010
>   control_port: 31011
>   data_port: 31012
> }
> error_type: 0
> message: "Failure while setting up Foreman. < AssertionError:[ Internal error: Conversion to relational algebra failed to preserve datatypes:
> validated type:
> RecordType(ANY *) NOT NULL
> converted type:
> RecordType(ANY *, ANY r_regionkey) NOT NULL
> rel:
> ProjectRel(*=[$0], r_regionkey=[$1])
>   SortRel(sort0=[$1], dir0=[ASC])
>     ProjectRel(*=[$0], r_regionkey=[$1], r_regionkey0=[$1])
>       TableAccessRel(table=[[dfs, TpcHMulti, region]])
>  ]"
> ]
> Error: exception while executing query (state=,code=0)



--
This message was sent by Atlassian JIRA
(v6.2#6252)