[DCV-3598] Document required Schema field for @task.datacoves_dbt service connections - #62
Open
fmercadop wants to merge 2 commits into
Open
[DCV-3598] Document required Schema field for @task.datacoves_dbt service connections#62fmercadop wants to merge 2 commits into
fmercadop wants to merge 2 commits into
Conversation
…tions
Users leaving Schema empty on a Datacoves service connection hit a dbt
profile validation error ("None is not of type 'string'") that names
their own dbt profile, leading them to wrongly suspect the repo's
profiles.yml is being used instead of the generated temporary profile.
Clarify that Schema is required for @task.datacoves_dbt, and that the
Airflow Snowflake provider's "optional" schema applies to the Airflow
connection only, not the generated dbt profile.
Makes the existing defaults (connection details, profile name, target name) and their overrides explicit and scannable instead of prose, per request to clarify what @task.datacoves_dbt does out of the box vs. what can be customized.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Adds a warning to the @task.datacoves_dbt decorator docs and an explicit note on the service connections page stating that the Schema field is required when a service connection is used with @task.datacoves_dbt. Leaving it empty causes a dbt profile validation error at runtime (Credentials in profile "...", target "..." invalid: None is not of type 'string'), and it's easy to miss since the Airflow Snowflake provider docs list schema as optional for the Airflow connection itself.