Hello Everyone,
I have a Jupyter Notebook that runs perfectly normal when running on my computer, outside of the Alteryx software. Then, when I import the notebook and run it within Alteryx, it takes more than 5 minutes to run this 1 line of code:
"df_conversion_dict.to_sql(name=table_name, con=engine, schema=schema_name, if_exists='replace',index=False)"
That same line of code takes literally 2 seconds (wall time = 2s) when I run this outside of Alteryx. Does anyone have any experience/ideas why trying to write a dataframe to SQL (connection to SSMS database) is running VERY slow through Alteryx software? Both "Interactive" and "Production" modes very slow. Production mode does run faster, but still takes about 4 minutes when my notebook on its own literally takes 2 seconds to execute that command.
Thank you for the help!