xiangyuf commented on code in PR #26381:
URL: https://github.com/apache/flink/pull/26381#discussion_r2041136921
##########
flink-table/flink-table-common/src/main/java/org/apache/flink/table/connector/sink/DynamicTableSink.java:
##########
@@ -188,7 +188,11 @@ interface Context {
* </ul>
*
* <p>Note: will always return empty for the delete statement because
it has no column list.
+ *
+ * @deprecated use {@link
+ *
org.apache.flink.table.connector.sink.abilities.SupportsTargetColumnWriting}
instead.
*/
+ @Deprecated(since = "2.1")
Optional<int[][]> getTargetColumns();
Review Comment:
IMHO, connectors can customize this behavior by implementing the
`SupportsTargetColumnWriting` interface defined in pr:
https://github.com/apache/flink/pull/26361. Except connectors, I'm not aware of
any other components need this information currently.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]