You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@impala.apache.org by "Gabor Kaszab (Jira)" <ji...@apache.org> on 2020/09/18 11:21:00 UTC

[jira] [Created] (IMPALA-10175) Extend error message when cast(..format..) fails in parse phase

Gabor Kaszab created IMPALA-10175:
-------------------------------------

             Summary: 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


{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 message was sent by Atlassian Jira
(v8.3.4#803005)