drill-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Abhishek Girish (JIRA)" <j...@apache.org>
Subject [jira] [Created] (DRILL-4162) Query with filter on non-existent column and Date expression throws SchemaChangeException
Date Fri, 04 Dec 2015 21:10:10 GMT
Abhishek Girish created DRILL-4162:
--------------------------------------

             Summary: Query with filter on non-existent column and Date expression throws
SchemaChangeException
                 Key: DRILL-4162
                 URL: https://issues.apache.org/jira/browse/DRILL-4162
             Project: Apache Drill
          Issue Type: Bug
          Components: SQL Parser
            Reporter: Abhishek Girish


The below query fails (column l_shipdat does not exist) :

{code}
> select * from lineitem where l_shipdat <= DATE '1996-03-13' limit 1;
Error: SYSTEM ERROR: SchemaChangeException: Failure while trying to materialize incoming schema.
 Errors:
Error in expression at index -1.  Error: Missing function implementation: [castTIMESTAMP(INT-OPTIONAL)].
 Full expression: --UNKNOWN EXPRESSION--..
Fragment 0:0
[Error Id: 0566ffd4-f61f-4941-ab9b-4b88920c7260 on atsqa6c61.qa.lab:31010] (state=,code=0)
{code}



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

Mime
View raw message