Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Force database parameter must be omitted or have the same value as schema #94

Merged
merged 4 commits into from
Oct 21, 2022

Conversation

armaseg
Copy link
Collaborator

@armaseg armaseg commented Oct 18, 2022

resolves #93

Description

Changes in credentials

Checklist

  • I have signed the CLA
  • I have run this code in development and it appears to resolve the stated issue
  • This PR includes tests, or tests are not required/relevant for this PR
  • I have updated the CHANGELOG.md and added information about my change to the "dbt-glue next" section.

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

@armaseg armaseg requested a review from menuetb October 18, 2022 12:15
@nicor88
Copy link
Contributor

nicor88 commented Oct 19, 2022

@armaseg when testing this PR (I removed my database from my profile). I'm getting this error:

Credentials in profile "glue", target "dev" invalid: 'database' is a required property

I see bunch of places where the database is used:

If I understood correctly with this feature we should be able to don't pass the database in the profile, am I right? If so, some other tweaks are needed.

@armaseg
Copy link
Collaborator Author

armaseg commented Oct 19, 2022

Totally missed it! Thank you @nicor88 :)

Copy link
Contributor

@nicor88 nicor88 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@armaseg I tested your latest changes, it works well (again I omitted database from my profile). Thanks for your changes. For me this is ready to be 🚢

@nicor88
Copy link
Contributor

nicor88 commented Oct 20, 2022

@armaseg So I tested the following:

  • a simple dbt run on a model ✅
  • dbt seed with a sample csv (I did run it multiple times just to be sure) ✅

so far all works well.

@menuetb menuetb merged commit 10c2f3e into main Oct 21, 2022
@menuetb menuetb deleted the force-database-parameter branch November 14, 2023 10:45
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Force database parameter must be omitted or have the same value as schema
3 participants