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

Jacques Nadeau resolved DRILL-822.
----------------------------------

    Resolution: Fixed

> 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
>            Assignee: Aman Sinha
>             Fix For: 1.0.0-BETA1
>
>
> 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)

Reply via email to