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

Abhishek Girish updated DRILL-4162:
-----------------------------------
    Attachment: drillbit.log.txt

> 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
>         Attachments: drillbit.log.txt
>
>
> 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)

Reply via email to