dstandish opened a new issue #20398:
URL: https://github.com/apache/airflow/issues/20398


   When you call `SnowflakeHook.run`, instance attribute `query_ids` is emptied 
and appended with new query ids. See 
[here](https://github.com/apache/airflow/blob/05e4cd1c6a93ba96f9adbaf7973e7729697ca934/airflow/providers/snowflake/hooks/snowflake.py#L284).
   
   Suppose you want to run multiple snowflake commands, perhaps submitted in 
different ways at different times, perhaps asynchronously.
   
   It's not obvious that the query_ids are reset when you call run again.
   
   I don't think this is the best behavior.  
   
   We should just return the query ids and let the user decide what to do.


-- 
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]


Reply via email to