aws / aws/amazon-redshift-python-driver

write_dataframe() does not finish

オープン
#250 コメント 2 件 リアクション 0 件 担当者 0 名 GitHub で見る
主要言語
Python
スター
220
フォーク
86
PR マージ指標
30日以内にマージされた PR はありません

説明

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

コントリビューションガイド

コントリビューションガイドを開く

調査の方向性

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.

索引モデルが issue の本文から書いたものです。

評価

技術スタック
aws, pandas, python
領域
databases
issue の種類
バグ
難易度
4/5
見積もり時間
3〜5日
活発さ
停滞
明瞭さ
説明が足りない
初心者へのやさしさ
30/100

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。