[ 
https://issues.apache.org/jira/browse/FLINK-21566?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Nico Kruber updated FLINK-21566:
--------------------------------
    Labels: stale-major usability  (was: stale-major)

> 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
>            Priority: Minor
>              Labels: stale-major, usability
>
> 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