You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Trying more I faced another problem that was: the cursor used on the write_dataframe function seems to overwrite the cursor params style and uses internally only position based formatting like insert values (%s, %s, ...) so I had to reorder the pandas DataFrame columns based on the same order of the Redshift table columns.
I'm trying to write a
pandas.DataFrame
into a table using thewrite_dataframe
function but I tried waiting 10 minutes, and it does not finish.I limited the size of the dataframe to have around 70 rows and 40 columns, the problem persists.
In the debugger, the code is stuck when calling the libray code
self.executemany(sql, arrays)
intowrite_dataframe
.How can I know what is the problem? I can read successfully another table. The table where I want to write was just created for testing purpouses.
Thanks
The text was updated successfully, but these errors were encountered: