aws / aws/amazon-redshift-python-driver
write_dataframe() does not finish
- Langage dominant
- Python
- Étoiles
- 220
- Forks
- 86
- Métriques de merge des PR
- Aucune PR mergée en 30 j
Description
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
Guide de contribution
Ouvrir le guide de contribution
Piste de recherche
Commencez par write_dataframe() et examinez l’appel self.executemany(sql, arrays) décrit dans le rapport. Reproduisez le blocage avec un pandas.DataFrame d’environ 70 lignes et 40 colonnes ainsi qu’avec la table de test nouvellement créée, puis déterminez ce qui permet à l’écriture de se terminer et vérifiez que le dataframe est correctement inséré.
Rédigé par le modèle d'indexation à partir du texte de l'issue.
Évaluation
- Stack technique
- aws, pandas, python
- Domaine
- databases
- Type d'issue
- Bug
- Difficulté
- 4/5
- Temps estimé
- 3-5 jours
- Activité
- À l'abandon
- Clarté
- À clarifier
- Accessibilité débutants
- 30/100