Martijn Visser created FLINK-40745:
--------------------------------------

             Summary: PyFlink JDBC sink binds to classes that no longer exist 
in flink-connector-jdbc 4.x
                 Key: FLINK-40745
                 URL: https://issues.apache.org/jira/browse/FLINK-40745
             Project: Flink
          Issue Type: Bug
          Components: Connectors / JDBC
            Reporter: Martijn Visser
            Assignee: Martijn Visser
             Fix For: jdbc-5.0.0


`flink-python/pyflink/datastream/connectors/jdbc.py` calls 
`org.apache.flink.connector.jdbc.JdbcSink.sink(...)` (deleted in jdbc-4.0.0), 
reflectively resolves `JdbcOutputFormat.createRowJdbcStatementBuilder` (moved 
in 3.x, now deleted) and calls `JdbcTypeUtil.typeInformationToSqlType` (its 
last caller anywhere); `flink-python/pom.xml` pins 
`flink-connector-jdbc:3.1.1-1.17`. The Python sink is non-functional against 
any 4.x connector. Either port it to `JdbcSink.builder()` or drop it; 
`JdbcTypeUtil.typeInformationToSqlType` is removed from the connector once this 
is settled.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to