DanielCarter-stack commented on issue #10397:
URL: https://github.com/apache/seatunnel/issues/10397#issuecomment-3798633241
<!-- code-pr-reviewer -->
This issue is caused by incorrect configuration rather than a code bug. The
error occurs because:
1. **Wrong parameter name**: `base-url` does not exist. The correct
parameter is `url` (see `OracleIncrementalSourceFactory.java:54-79`).
2. **Missing required parameters**: `database-names` and `schema-names` are
required for Oracle Catalog creation. Without them,
`CatalogFactory.createCatalog()` fails, causing `catalog.getTables()` to return
an empty list and throwing the error at `CatalogTableUtil.java:131`.
3. **Incomplete table-names format**: The code expects
`${database}.${schema}.${table}` (3 parts) or `${schema}.${table}` (2 parts) as
validated in `OracleSourceConfigFactory.java:200-205`.
Your fix in the comments is correct. For reference, see the valid E2E test
config at
`seatunnel-e2e/seatunnel-connector-v2-e2e/connector-cdc-oracle-e2e/src/test/resources/oraclecdc_to_oracle.conf:30-36`.
Consider closing this issue and creating a documentation improvement task to
clarify the required parameters.
--
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]