美文网首页
Weird input data, no newline cha

Weird input data, no newline cha

作者: 安申 | 来源:发表于2021-07-20 23:46 被阅读0次

背景:前几天往neo4j中导数据,发现一直报错Weird input data, no newline character in the whole buffer 4194304, not supported a.t.m.
翻译报错信息,发现貌似是超出Neo4j某种类型的存储范围,后谷歌发现,是因为neo4j存储csv数据,超出特定大小找不到分隔符。
具体原因:

  • Neo4j's batch import logic tries to break up large input data into smaller chunks so that multiple parsers can process them simultaneously. The logic looks for newlines to determine where to separate the chunks. If your data has very infrequent or no newlines, then chunking fails with the error you are seeing.
  • 翻译:Neo4j 的批量导入逻辑试图将大输入数据分解成更小的块,以便多个解析器可以同时处理它们。该逻辑查找换行符以确定在何处分隔块。如果您的数据很少出现或没有换行符,则分块失败并显示您所看到的错误。

即错误原因为:有一行数据大小超出了 4194304 字节,可计算整条数据长度 length(concat(column1,column2))。

注意:是整条数据大小超出该长度,而非单指某一字段。

相关文章

网友评论

      本文标题:Weird input data, no newline cha

      本文链接:https://www.haomeiwen.com/subject/tawlmltx.html