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 2019/06/13 12:06:00 UTC

[jira] [Created] (IMPALA-8665) Include extra info in error message when date cast fails

Gabor Kaszab created IMPALA-8665:
------------------------------------

             Summary: Include extra info in error message when date cast fails
                 Key: IMPALA-8665
                 URL: https://issues.apache.org/jira/browse/IMPALA-8665
             Project: IMPALA
          Issue Type: Improvement
          Components: Backend
    Affects Versions: Impala 3.3.0
            Reporter: Gabor Kaszab



{code:java}
select cast("2000" as date); 
ERROR: UDF ERROR: String to Date parse failed.
{code}
 If we assume the user has millions of rows in a table and makes a cast on them it's hard to debug which one of the made the cast fail as there is no indication in the error message. Let's include at least the input value of the cast to the message.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)