Skip to content

[hotfix] Stabilize integration test (derby)#191

Closed
och5351 wants to merge 3 commits into
apache:mainfrom
och5351:hotfix/derbydb-resultset-close
Closed

[hotfix] Stabilize integration test (derby)#191
och5351 wants to merge 3 commits into
apache:mainfrom
och5351:hotfix/derbydb-resultset-close

Conversation

@och5351

@och5351 och5351 commented Apr 27, 2026

Copy link
Copy Markdown
Contributor

Summary

Fix DerbyDynamicTableSourceITCase.testLimit failure caused by ResultSet being closed when autocommit is disabled.

Changes

  • Add resultSet.isClosed() check before calling next() in JdbcSourceSplitReader

Test

mvn test -Dtest=DerbyDynamicTableSourceITCase -pl flink-connector-jdbc-core

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant