You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@flink.apache.org by "Nico Kruber (Jira)" <ji...@apache.org> on 2021/03/02 16:37:00 UTC

[jira] [Created] (FLINK-21566) Improve error message for "Unsupported casting"

Nico Kruber created FLINK-21566:
-----------------------------------

             Summary: Improve error message for "Unsupported casting"
                 Key: FLINK-21566
                 URL: https://issues.apache.org/jira/browse/FLINK-21566
             Project: Flink
          Issue Type: New Feature
          Components: Table SQL / API
    Affects Versions: 1.12.1
            Reporter: Nico Kruber


In a situation like from FLINK-21565, neither the error message {{Unsupported casting from TINYINT to INTERVAL SECOND(3)}}, nor the exception trace (see FLINK-21565) gives you a good hint on where the error is, especially if you have many statements with TINYINTs or operations on these.

The query parser could highlight the location of the error inside the SQL statement that the user provided.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)