python - 使用飞行写表时出现“OSError:无法将记录批处理写入流”
问题描述
我在使用航班发送数据时遇到了 OSError,但我没有得到任何有用的信息。
基本信息是:
python version 3.7.9
pyarrow version 0.17.1
代码是:
writer, reader = client.do_put(FlightDescriptor.for_path(*paths), schema)
writer.write_table(table)
result: Buffer = reader.read()
writer.close()
错误是:
Traceback (most recent call last):
File "pyarrow/ipc.pxi", line 240, in pyarrow.lib._CRecordBatchWriter.write_table
File "pyarrow/error.pxi", line 100, in pyarrow.lib.check_status
OSError: Could not write record batch to stream:
解决方案
推荐阅读
- c++ - 从服务访问 gRPC 服务器类的成员
- mysql - 由于我无法识别的插件导致我的帐户因大量 postmeta 而被暂停,数据库已超载
- c - 对如何分配内存感到困惑
- django - 将 Django 框架转换为 Django REST 框架
- matlab - MATLAB图中的额外间距
- postgresql - Postgres 添加用户不可能
- ios - 如何通过附加检查实现双向绑定
- image - SwiftUI - 在列表/表单中显示图像,单元格周围没有边框
- git - 如何在云运行构建中访问私有 git 存储库
- java - AccessibilityRecord.getFromIndex() 的问题