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)

Reply via email to