Khurram Faraaz created DRILL-3787:
-------------------------------------
Summary: Need a better error message
Key: DRILL-3787
URL: https://issues.apache.org/jira/browse/DRILL-3787
Project: Apache Drill
Issue Type: Bug
Components: Execution - Data Types
Affects Versions: 1.2.0
Reporter: Khurram Faraaz
Assignee: Hanifi Gunes
Priority: Minor
Predicate over DATE type column results in SchemaChangeException. All values in
the column are of type date. We need to fix the error message.
{code}
0: jdbc:drill:schema=dfs.tmp> SELECT col5 FROM `fewRowsAllData.parquet` WHERE
col5 < 1968-06-06;
Error: SYSTEM ERROR: SchemaChangeException: Failure while trying to materialize
incoming schema. Errors:
Error in expression at index -1. Error: Missing function implementation:
[castTIMESTAMP(INT-REQUIRED)]. Full expression: --UNKNOWN EXPRESSION--..
Fragment 0:0
[Error Id: 6fddaef0-ec51-4896-b12f-046c4a011995 on centos-04.qa.lab:31010]
(state=,code=0)
{code}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)