Skip to content

CC-38740: Validate column mapping regexes against table.include.list entries#1608

Open
KGaneshDatta wants to merge 2 commits into10.9.xfrom
kdatta_validation_patch1
Open

CC-38740: Validate column mapping regexes against table.include.list entries#1608
KGaneshDatta wants to merge 2 commits into10.9.xfrom
kdatta_validation_patch1

Conversation

@KGaneshDatta
Copy link
Contributor

Problem

A misconfigured regex in timestamp.columns.mapping (or incrementing.column.mapping) that doesn't match the tables in table.include.list is only caught at runtime, causing the connector to fail after startup. This error requires to be validated before so that the user can react upon it immediately.

Solution

Added config validation in JdbcSourceConnectorValidation that verifies each table.include.list entry matches exactly one regex in the column mapping configs. Differences are now shown as clear actionable validation errors before the connector starts.

Does this solution apply anywhere else?
  • yes
  • no
If yes, where?

Test Strategy

Testing done:
  • Unit tests
  • Integration tests
  • System tests
  • Manual tests

Release Plan

@KGaneshDatta KGaneshDatta requested a review from a team as a code owner February 10, 2026 09:55
@confluent-cla-assistant
Copy link

🎉 All Contributor License Agreements have been signed. Ready to merge.
Please push an empty commit if you would like to re-run the checks to verify CLA status for all contributors.

@sonarqube-confluent
Copy link

Quality Gate failed Quality Gate failed

Failed conditions
0.0% Coverage on New Code (required ≥ 80%)

See analysis details on SonarQube

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant