Skip to content

Conversation

@nikolber
Copy link

@nikolber nikolber commented Nov 7, 2025

Description

Fixes #193 - Incremental models now work correctly regardless of the database parameter value in profiles.yml.

Problem

Incremental models failed on the second run with ORA-00955: name is already used by an existing object when the database parameter didn't match the Oracle service parameter.

Solution

Modified get_relation() in dbt/adapters/oracle/impl.py to always pass None as the database parameter to the parent method

@oracle-contributor-agreement
Copy link

Thank you for your pull request and welcome to our community! To contribute, please sign the Oracle Contributor Agreement (OCA).
The following contributors of this PR have not signed the OCA:

To sign the OCA, please create an Oracle account and sign the OCA in Oracle's Contributor Agreement Application.

When signing the OCA, please provide your GitHub username. After signing the OCA and getting an OCA approval from Oracle, this PR will be automatically updated.

If you are an Oracle employee, please make sure that you are a member of the main Oracle GitHub organization, and your membership in this organization is public.

@oracle-contributor-agreement oracle-contributor-agreement bot added the OCA Required At least one contributor does not have an approved Oracle Contributor Agreement. label Nov 7, 2025
@oracle-contributor-agreement
Copy link

Thank you for signing the OCA.

@oracle-contributor-agreement oracle-contributor-agreement bot added OCA Verified All contributors have signed the Oracle Contributor Agreement. and removed OCA Required At least one contributor does not have an approved Oracle Contributor Agreement. labels Nov 10, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

OCA Verified All contributors have signed the Oracle Contributor Agreement.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Bug] Incremental models fail with ORA-00955 when database parameter doesn't match service name

1 participant