List of questions
Related questions
Question 18 - DEA-C01 discussion
Mohan, Data engineer works with ALTUSO Company, wants to programmatically check the status of the query. He needs query id to identify each query executed by Snowflake & using Snowflake Connector for Python to execute a query, how he will be able to meet this requirements. Select the best options you will suggest?
A.
He can access the query ID through the sfqid attribute in the Cursor object.
B.
cur = con.cursor()
C.
cur.execute("SELECT * FROM snowtable")
D.
print(cur.sfqid)
E.
When he used the Snowflake Connector for Python to execute a query, he can access the query ID through the pyqueryid attribute in the Cursor object.
F.
He needs to query history views to get the queryID as best practices.
G.
Using python connector, snowflake does not support queryID retrieval for both syn-chronous & asynchronous query.
Your answer:
0 comments
Sorted by
Leave a comment first