[ 
https://issues.apache.org/jira/browse/FLINK-40743?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Martijn Visser updated FLINK-40743:
-----------------------------------
    Affects Version/s:     (was: jdbc-4.0.0)

> 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)

Reply via email to