[ 
https://issues.apache.org/jira/browse/FLINK-3754?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15241166#comment-15241166
 ] 

Fabian Hueske commented on FLINK-3754:
--------------------------------------

Thanks [~yijieshen] for working on this issue. It would be really good to have 
the validation a bit more centralized. Unfortunately, Calcite's RelBuilder does 
not perform validation such as type checks. Some of these could Flink do 
earlier than now. 

A good starting point should be the test cases that check for incorrect usage 
of the Table API.

> Add a validation phase before construct RelNode using TableAPI
> --------------------------------------------------------------
>
>                 Key: FLINK-3754
>                 URL: https://issues.apache.org/jira/browse/FLINK-3754
>             Project: Flink
>          Issue Type: Improvement
>          Components: Table API
>    Affects Versions: 1.0.0
>            Reporter: Yijie Shen
>            Assignee: Yijie Shen
>
> Unlike sql string's execution, which have a separate validation phase before 
> RelNode construction, Table API lacks the counterparts and the validation is 
> scattered in many places.
> I suggest to add a single validation phase and detect problems as early as 
> possible.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to