[ https://issues.apache.org/jira/browse/IMPALA-10175?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Gabor Kaszab updated IMPALA-10175: ---------------------------------- Description: {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. was: {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. > 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: New Feature > 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: issues-all-unsubscr...@impala.apache.org For additional commands, e-mail: issues-all-h...@impala.apache.org