You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@drill.apache.org by "Abhishek Girish (JIRA)" <ji...@apache.org> on 2015/12/04 22:10:10 UTC

[jira] [Created] (DRILL-4162) Query with filter on non-existent column and Date expression throws SchemaChangeException

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)