Jason
08/15/2022, 4:16 PMsnowflake_io_manager
is the expectation that these (asset) tables already exist in Snowflake making them somewhat "strongly typed" to your dataframe (Software Defined Asset) in code? Or does the io manager wrap a create table
statement around things similar to how dbt works? (for me it only works when tables are already created so just confirming/validating if this is the expected behaviour)sandy
08/15/2022, 4:36 PMJason
08/15/2022, 4:43 PMsnowflake_resource
in the asset to create (if not exist) the table first, then do stuff, then snowflake_io_manager
handles itjamie
08/15/2022, 4:53 PMJason
08/15/2022, 5:03 PM0.15.6
but last week went to 1.0
and I haven't tried since bc the code was already setup and running in my branch.
In a couple hours I'll comment out my code, drop the existing table and re-try. Then get back to you here.jamie
08/15/2022, 5:19 PMJason
08/15/2022, 8:04 PMv1
before reporting any potential bugsJason
08/15/2022, 8:09 PMfetchall()
for snowflake_resource.execute_query()
but it would be nice to also have the option to return data in pandas dataFrame with fetch_pandas_all()
jamie
08/15/2022, 8:24 PMsnowflake_resource.execute_query(query, use_pandas_result=True)
to get it back as a df!Jason
08/15/2022, 8:29 PMJason
08/15/2022, 8:29 PMjamie
08/15/2022, 8:30 PMJason
08/15/2022, 8:44 PM1.0.3
so it will show up in 1.0.4
on Thursday. I can wait 🙂