Skip to content

Conversation

@harjeevanmaan
Copy link
Contributor

@harjeevanmaan harjeevanmaan commented Oct 3, 2024

  • Snowflake does not currently support variable binding in multi-statement SQL requests.

  • Added warning for multi-statement query bindings in Snowflake hook

  • Test: added unit test for multi-statement bindings warning

Related: #42033


^ Add meaningful description above
Read the Pull Request Guidelines for more information.
In case of fundamental code changes, an Airflow Improvement Proposal (AIP) is needed.
In case of a new dependency, check compliance with the ASF 3rd Party License Policy.
In case of backwards incompatible changes please leave a note in a newsfragment file, named {pr_number}.significant.rst or {issue_number}.significant.rst, in newsfragments.

…ement SQL requests.

- added warning for multi-statement query bindings in Snowflake hook
test: added unit test for multi-statement bindings warning

Related: apache#42033
@boring-cyborg boring-cyborg bot added area:providers provider:snowflake Issues related to Snowflake provider labels Oct 3, 2024
@potiuk potiuk merged commit 4d8d6a3 into apache:main Oct 4, 2024
@potiuk
Copy link
Member

potiuk commented Oct 4, 2024

Nice!

@harjeevanmaan
Copy link
Contributor Author

Thanks!

joaopamaral pushed a commit to joaopamaral/airflow that referenced this pull request Oct 21, 2024
…ement SQL requests. (apache#42719)

- added warning for multi-statement query bindings in Snowflake hook
test: added unit test for multi-statement bindings warning

Related: apache#42033
ellisms pushed a commit to ellisms/airflow that referenced this pull request Nov 13, 2024
…ement SQL requests. (apache#42719)

- added warning for multi-statement query bindings in Snowflake hook
test: added unit test for multi-statement bindings warning

Related: apache#42033
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 not resolving parameters in SQL

2 participants