Brian
07/24/2023, 6:32 PMwith connector.cursor() as cursor:
cursor.execute(statement)
The error I get is
AttributeError: 'SnowflakeConnector' object has no attribute 'cursor'
Based on what I see in the prefect docs it does indeed seem like there is no cursor
attribute. Have I missed something or is there an alternative way to writing a dataframe to Snowflake?Nate
07/24/2023, 6:36 PMconnector
instead of the connection
object
take a look at the implementation of the snowflake_query
taskBrian
07/24/2023, 6:44 PM