[
https://issues.apache.org/jira/browse/IMPALA-10175?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Gabor Kaszab updated IMPALA-10175:
----------------------------------
Issue Type: Improvement (was: New Feature)
> Extend error message when cast(..format..) fails in parse phase
> ---------------------------------------------------------------
>
> Key: IMPALA-10175
> URL: https://issues.apache.org/jira/browse/IMPALA-10175
> Project: IMPALA
> Issue Type: Improvement
> Components: Backend
> Reporter: Gabor Kaszab
> Assignee: Gabor Kaszab
> Priority: Major
>
> {code:java}
> select cast('0;367' as date format 'YY;DDD');
> ERROR: UDF ERROR: String to Date parse failed. Invalid string val: "0;367"
> {code}
> Here the output contains the input string but would be more helpful for
> debugging if it also contained the original format string as well.
> This applies to String to Date conversions only as String to Timestamp
> failures currently doesn't raise an error.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]