HQ018 opened a new pull request, #11076:
URL: https://github.com/apache/seatunnel/pull/11076

   ### Purpose of this pull request
   
   Fixes #11034.
   
   This PR fixes Oracle CDC schema lookup in CDB/PDB sessions.
   
   When Debezium returns schema table IDs with a missing/different catalog 
value or different case, SeaTunnel now maps the read table ID back to the 
requested table ID. It also sets the PDB session before reading schema when 
`pdbName` is configured.
   
   ### Does this PR introduce _any_ user-facing change?
   
   No.
   
   This PR does not add or change connector options, configuration names, 
documentation, or command output. It only fixes Oracle CDC schema lookup 
behavior.
   
   ### How was this patch tested?
   
   Added unit tests in `OracleSchemaTest` covering:
   
   - schema lookup when `readSchema` returns a catalogless table ID
   - schema lookup when `readSchema` returns a different catalog and different 
case
   - schema lookup when the connector filter rejects an equivalent read table ID
   - setting the PDB session before reading schema
   
   Test command:
   
   ```powershell
   .\mvnw.cmd -pl seatunnel-connectors-v2/connector-cdc/connector-cdc-oracle 
-Dtest=OracleSchemaTest test
   
   ### Check list
   
   No new Jar binary package is added in this PR.
   
   Documentation update is not necessary because this PR does not add or change 
user-facing configuration.
   
   No incompatible change is introduced.
   
   This PR modifies an existing connector only. No new connector registration, 
plugin-mapping.properties, seatunnel-dist/pom.xml, label scope, or plugin 
config update is needed.
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to