Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
1.20.0, 1.19.1
Description
The interface [`Optional<int[][]> getTargetColumns()` |https://github.com/apache/flink/blob/master/flink-table/flink-table-common/src/main/java/org/apache/flink/table/connector/sink/DynamicTableSink.java#L192]
is expected to return an Optional#empty() for a sql statement without specifying a column list, e.g., 'insert into t1 select ...',
but the current implemantation will return an int[0] in such cases, this is unexpected.