Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

Set snowflake_conn_id on Snowflake Operators to avoid error #33681

Merged
merged 1 commit into from
Aug 24, 2023

Conversation

SamWheating
Copy link
Contributor

closes: #33679

In #30784 we added new template fields, but in the case of the snowflake operators, this attribute was never actually set during initialization (it was just passed to the parent class as conn_id).

As a result, these operators fail with the following exception:

AttributeError: 'snowflake_conn_id' is configured as a template field but SnowflakeCheckOperator does not have this attribute.

Anyways, this PR just adds the missing attributes.

I replicated the original failure mode in Breeze, and then verified this fix.

@boring-cyborg boring-cyborg bot added area:providers provider:snowflake Issues related to Snowflake provider labels Aug 23, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area:providers provider:snowflake Issues related to Snowflake provider
Projects
None yet
Development

Successfully merging this pull request may close these issues.

SnowflakeCheckOperator connection id template issue
3 participants