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

Add custom handler param in SnowflakeOperator #25983

Merged
merged 1 commit into from
Aug 27, 2022

Conversation

pankajastro
Copy link
Member

Currently, SnowflakeOperator always pushes the response of the cursor fetchall method in xcom if do_xcom_push is set to true It would be nice if we could allow the user to pass a custom handler that will act on the cursor if this handler is not passed then use the fetchall as default behaviour i.e current behaviour. this will give a user more control over using the other method which is available on the cursor also customizing the output result as required.


^ 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.

@boring-cyborg boring-cyborg bot added area:providers provider:snowflake Issues related to Snowflake provider labels Aug 26, 2022
@pankajastro pankajastro marked this pull request as ready for review August 26, 2022 14:21
@potiuk potiuk merged commit 9e12d48 into apache:main Aug 27, 2022
@pankajastro pankajastro deleted the snowflake_custom_handler branch March 9, 2023 17:00
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.

2 participants