Skip to content

Conversation

@AryanK1511
Copy link
Contributor

@AryanK1511 AryanK1511 commented Jun 23, 2025

closes: #52079. The original issue reported that the Snowflake SQL API codebase attempted to fetch JSON without raising for status, which could result in failures if an error occurred and the JSON was invalid. However, upon closer inspection, I found that this problem was actually addressed about five days ago in PR #51463 (which closed #50514). So, this issue was indirectly fixed.

However, there were no tests to confirm the fix. In this PR, I’ve added two test cases, one for the async and one for the sync API call in the hook. Both tests are passing, which validates that the change works as expected.


@boring-cyborg boring-cyborg bot added area:providers provider:snowflake Issues related to Snowflake provider labels Jun 23, 2025
Copy link
Contributor

@rawwar rawwar left a comment

Choose a reason for hiding this comment

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

Thanks!

@eladkal eladkal merged commit 7c74b2a into apache:main Jun 24, 2025
70 checks passed
@AryanK1511 AryanK1511 deleted the aryank1511/issue-52079 branch July 27, 2025 19:30
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.

SnowflakeSqlApiOperator fails with JSONDecode at times Enhance Snowflake SQL API Hook with Retry Logic for Query Status Polling

4 participants