Skip to content

Conversation

@jroachgolf84
Copy link
Collaborator

Description

@manipatnam noted that each time the Trigger ran for the SnowflakeSqlApiOperator, a connection was being made. This issue was tracked down to the SnowflakeSqlApiTrigger, where an unnecessary call was being made to SnowflakeSqlApiHook each time the trigger ran.

This PR removes that call.

Testing

To test the changes made in this PR, please run the command shown below. This will run all tests for the Snowflake provider.

breeze testing providers-tests --test-type "Providers[snowflake]"

closes: #59385

@jroachgolf84
Copy link
Collaborator Author

@rawwar, do you mind taking a peek at this one? Thanks!

@potiuk potiuk merged commit 7934a69 into apache:main Dec 16, 2025
86 checks passed
FoxHelms pushed a commit to FoxHelms/airflow that referenced this pull request Dec 17, 2025
…he#59470)

* issue-59385: Removing unneeded call the SnowflakeSqlApiHook

* issue-59385: Updating Hook instantiating in proper place
Lohith625 pushed a commit to Lohith625/airflow that referenced this pull request Dec 19, 2025
…he#59470)

* issue-59385: Removing unneeded call the SnowflakeSqlApiHook

* issue-59385: Updating Hook instantiating in proper place
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.

Snowflake operators in deferred mode generate JWT tokens on every poll instead of reusing them

3 participants