aws / aws/amazon-redshift-python-driver

write_dataframe() does not finish

Aperta
#250 2 commenti 0 reazioni 0 assegnatari Vedi su GitHub
Lingua principale
Python
Stelle
220
Fork
86
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

I'm trying to write a `pandas.DataFrame` into a table using the `write_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)` into `write_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

Guida per i contributori

Apri la guida per i contributori

Direzione di ricerca

Start at write_dataframe() and inspect the self.executemany(sql, arrays) call described in the report. Reproduce the hang with a roughly 70-row, 40-column pandas.DataFrame and the newly created test table, then determine what allows the write to finish and verify that the dataframe is inserted successfully.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Valutazione

Stack tecnologico
aws, pandas, python
Ambito
databases
Tipo di issue
Bug
Difficoltà
4/5
Tempo stimato
3-5 giorni
Stato di attività
Ferma
Chiarezza
Da chiarire
Idoneità per principianti
30/100

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.