[ https://issues.apache.org/jira/browse/FLINK-25337?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17462579#comment-17462579 ]
Wenlong Lyu commented on FLINK-25337: ------------------------------------- Regarding sql validation,I think it is necessary to go through all steps of optimization the same as what you are doing now, validation in sql operation converter can not ensure that the sql is ok. > Check whether the target table is valid when > SqlToOperationConverter.convertSqlInsert > ------------------------------------------------------------------------------------- > > Key: FLINK-25337 > URL: https://issues.apache.org/jira/browse/FLINK-25337 > Project: Flink > Issue Type: Improvement > Components: Table SQL / Planner > Affects Versions: 1.14.0 > Reporter: vim-wang > Priority: Major > Original Estimate: 24h > Remaining Estimate: 24h > > when I execute insert sql like "insert into t1 select ...", > If the t1 is not defined,sql will not throw an exception after > SqlToOperationConverter.convertSqlInsert(), I think this is unreasonable, why > not use catalogManager to check whether the target table is valid? -- This message was sent by Atlassian Jira (v8.20.1#820001)