[jira] [Created] (FLINK-19395) Replace SqlConversionException with either TableException or ValidationException

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[jira] [Created] (FLINK-19395) Replace SqlConversionException with either TableException or ValidationException

Shang Yuanchun (Jira)
Timo Walther created FLINK-19395:
------------------------------------

             Summary: Replace SqlConversionException with either TableException or ValidationException
                 Key: FLINK-19395
                 URL: https://issues.apache.org/jira/browse/FLINK-19395
             Project: Flink
          Issue Type: Improvement
          Components: Table SQL / Legacy Planner, Table SQL / Planner
            Reporter: Timo Walther


We should avoid creating too many different exceptions without reason. `SqlConversionException` is not necessary and can be replaced by the two commonly used exceptions for TableException or ValidationException. Currently, we throw all three in `SqlToOperation` converters.



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