The GitHub Actions job "Flink Connector JDBC CI Backwards Compatibility" on flink-connector-jdbc.git/FLINK-40725-changelog-onconflict has failed. Run started by GitHub user spuru9 (triggered by spuru9).
Head commit for run: 02088b57fef9330d0ecf8de91b9495c7950d4f7d / Purushottam Sinha <[email protected]> [FLINK-40725][tests] Fix changelog-source sink ITCase for Flink 2.3.0 ON CONFLICT validation Flink 2.3.0 (FLIP-558) requires an explicit ON CONFLICT clause when a changelog query whose upsert key differs from the sink primary key is written into an upsert sink. JdbcDynamicTableSinkITCase .testReadingFromChangelogSource (shared by all database modules) therefore failed on 2.3.0 with a ValidationException. Append ON CONFLICT DO DEDUPLICATE to the INSERT only when running against Flink >= 2.3.0, detected via EnvironmentInformation.getVersion() (which compiles against every supported Flink version, unlike the FlinkVersion enum constants that do not exist in the 2.0.0 baseline). DO DEDUPLICATE keeps the latest record per key, matching the prior upsert semantics; the clause does not parse on 2.1.x/2.2.x, so it is version-gated. Also add Flink 2.3.0 to the push_pr CI matrix so this path is exercised. Verified: DerbyDynamicTableSinkITCase#testReadingFromChangelogSource passes on 2.1.3, 2.2.1 and 2.3.0; the default flink.version=2.0.0 build still compiles. Generated-by: Claude Code (Claude Opus 4.8) Report URL: https://github.com/apache/flink-connector-jdbc/actions/runs/35541327665 With regards, GitHub Actions via GitBox
