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

Steve Carlin reassigned IMPALA-14946:
-------------------------------------

    Assignee: Steve Carlin

> Catch "trunc" error within Calcite planner
> ------------------------------------------
>
>                 Key: IMPALA-14946
>                 URL: https://issues.apache.org/jira/browse/IMPALA-14946
>             Project: IMPALA
>          Issue Type: Sub-task
>            Reporter: Steve Carlin
>            Assignee: Steve Carlin
>            Priority: Major
>
> Currently, a java exception is thrown on the following query where the second 
> parameter is incorrect:
> select dayofyear(trunc('2014-11-11', string_col)) from 
> functional.alltypestiny limit 1;
> The original planner catches this and throws an Invalid Truncate Unit 
> message. Calcite planner should do the same.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to