Details
-
Improvement
-
Status: Resolved
-
Major
-
Resolution: Resolved
-
1.10.0
-
None
Description
IIUC, TableEnv#sqlUpdate is used for DDL & DML while TableEnv#sqlQuery is used for select statement. Unfortunately, it seems `insert into` is a special case that no simple api can be used for it.
The code of implementing `insert into` in sql-client is pretty complex, it would be nice to have one simple api for executing `insert into`
https://github.com/apache/flink/blob/master/flink-table/flink-sql-client/src/main/java/org/apache/flink/table/client/gateway/local/LocalExecutor.java#L572