aws / aws/amazon-redshift-python-driver

write_dataframe() does not finish

未关闭
#250 2 条评论 0 个 reaction 已指派 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

贡献指南

打开贡献指南

调研方向

从 write_dataframe() 开始,检查报告中描述的 self.executemany(sql, arrays) 调用。使用一个大约有 70 行、40 列的 pandas.DataFrame 和新创建的测试表重现挂起,然后确定是什么使写入能够完成,并验证 dataframe 已成功插入。

由索引模型根据 Issue 内容生成。

评估

技术栈
aws, pandas, python
领域
databases
Issue 类型
缺陷
难度
4/5
预计耗时
3-5 天
活跃度
停滞
描述清晰度
需要澄清
新手友好度
30/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。