sfc-gh-madkins commented on issue #24456: URL: https://github.com/apache/airflow/issues/24456#issuecomment-1162439252
what if they want to run a series of snowpark pcode? On Tue, Jun 21, 2022 at 4:59 PM Kamil Breguła ***@***.***> wrote: > I thought to just add Snowpark session creation support to the > SnowflakeHook class. If the user uses the new Task Flow API > <https://airflow.apache.org/docs/apache-airflow/stable/tutorial_taskflow_api.html>, > we will have a very simple and readable code. > > @task() > def get_count(): > session = SnowflakeHook( > snowflake_conn_id="conn-id" > ).get_snowpark_session() > return session.sql("SELECT count(*) FROM sample_product_data").collect() > > — > Reply to this email directly, view it on GitHub > <https://github.com/apache/airflow/issues/24456#issuecomment-1162407551>, > or unsubscribe > <https://github.com/notifications/unsubscribe-auth/ATSRCU6DER2X3CGMV3YWWI3VQI3MXANCNFSM5YZNCYZA> > . > You are receiving this because you were mentioned.Message ID: > ***@***.***> > -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
