[
https://issues.apache.org/jira/browse/FLINK-40743?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Martijn Visser resolved FLINK-40743.
------------------------------------
Resolution: Fixed
Fixed in apache/flink-connector-jdbc:main
911d9efac738169fad1ca9f9726676292a152848
> JDBC Table sink reports an empty lineage dataset name
> -----------------------------------------------------
>
> Key: FLINK-40743
> URL: https://issues.apache.org/jira/browse/FLINK-40743
> Project: Flink
> Issue Type: Bug
> Components: Connectors / JDBC
> Affects Versions: jdbc-4.1.0
> Reporter: Martijn Visser
> Assignee: Martijn Visser
> Priority: Major
> Labels: pull-request-available
> Fix For: jdbc-5.0.0
>
>
> `TableLineageUtils.extractLineageDataset` runs at plan time on the object
> `SinkFunctionProvider.createSinkFunction()` returns.
> `JdbcOutputFormat.getLineageVertex()` reads the statement text from the
> transient statement executor, which only exists after `open()`, so the
> dataset name is always `""` for Table sinks (the DataStream `JdbcSink` is
> fine).
--
This message was sent by Atlassian Jira
(v8.20.10#820010)