You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@drill.apache.org by "Ramana Inukonda Nagaraj (JIRA)" <ji...@apache.org> on 2015/04/17 20:17:59 UTC

[jira] [Closed] (DRILL-586) Order by on select * fails

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

Ramana Inukonda Nagaraj closed DRILL-586.
-----------------------------------------

> Order by on select * fails
> --------------------------
>
>                 Key: DRILL-586
>                 URL: https://issues.apache.org/jira/browse/DRILL-586
>             Project: Apache Drill
>          Issue Type: Bug
>          Components: SQL Parser
>            Reporter: Ramana Inukonda Nagaraj
>            Assignee: Jacques Nadeau
>            Priority: Critical
>             Fix For: 0.4.0
>
>
> 0: jdbc:drill:schema=dfs.drillTestDirP1> explain plan for select * from student order by age;
> Query failed: org.apache.drill.exec.rpc.RpcException: Remote failure while running query.[error_id: "e2eb9f49-d82b-41f3-a518-8ab698ed5812"
> endpoint {
>   address: "drillats3.qa.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:\nvalidated type:\nRecordType(ANY NOT NULL *) NOT NULL\nconverted type:\nRecordType(ANY NOT NULL *, ANY NOT NULL age) NOT NULL\nrel:\nProjectRel(*=[$0], age=[$1])\n  SortRel(sort0=[$1], dir0=[ASC])\n    ProjectRel(*=[$0], age=[$1], age0=[$1])\n      TableAccessRel(table=[[dfs, drillTestDirP1, student]])\n ]"
> ]
> Error: exception while executing query (state=,code=0)
> The query fails with the same error.



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