You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by "eladkal (via GitHub)" <gi...@apache.org> on 2023/03/08 13:35:13 UTC
[GitHub] [airflow] eladkal commented on issue #29975: SnowflakeHook get_records() - 'list' object has no attribute 'sfqid
eladkal commented on issue #29975:
URL: https://github.com/apache/airflow/issues/29975#issuecomment-1460164510
What version of snowflake provider do you use?
Can you please share reproduce example?
At least from what I see in [Snowflake docs ](https://docs.snowflake.com/en/user-guide/python-connector-example#retrieving-the-snowflake-query-id)
```
# Retrieving a Snowflake Query ID
cur = con.cursor()
cur.execute("SELECT * FROM testtable")
print(cur.sfqid)
```
the hook code:
https://github.com/apache/airflow/blob/eff677c418f09690f7e89302368dbff54e7fce75/airflow/providers/snowflake/hooks/snowflake.py#L390
should work
--
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: commits-unsubscribe@airflow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org