Khurram Faraaz created DRILL-4622:
-------------------------------------

             Summary: Need a better error message
                 Key: DRILL-4622
                 URL: https://issues.apache.org/jira/browse/DRILL-4622
             Project: Apache Drill
          Issue Type: Bug
          Components: Query Planning & Optimization
    Affects Versions: 1.6.0
            Reporter: Khurram Faraaz
            Priority: Minor


Need a better error message.

{noformat}
0: jdbc:drill:schema=dfs.tmp> select id from (values(values(10))) tbl(id);
Error: SYSTEM ERROR: AssertionError: Internal error: Conversion to relational 
algebra failed to preserve datatypes:
validated type:
RecordType(INTEGER id) NOT NULL
converted type:
RecordType(INTEGER NOT NULL id) NOT NULL
rel:
LogicalProject(id=[$0])
  LogicalValues(tuples=[[{ 10 }]])



[Error Id: cc1f141e-97b5-43fe-a039-709d92dcacaf on centos-03.qa.lab:31010] 
(state=,code=0)

{noformat}



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

Reply via email to