ClickHouse/clickhouse-js

write EPIPE Error

sky505 opened this issue · 1 comments

Example Insert 100,000 pieces of data in a batch,Error

"err":{"type":"Error","message":"write EPIPE","stack":"Error: write EPIPE\n at WriteWrap.onWriteComplete [as oncomplete] (internal/stream_base_commons.js:94:16)\n at WriteWrap.callbackTrampoline (internal/async_hooks.js:134:14)","errno":-32,"code":"EPIPE","syscall":"write"},"msg":"write EPIPE"}

await this.client.insert({ table, values: data, format: 'JSONEachRow', })

  1. Does it happen with smaller batches? (10k, 20k, 50k)?
  2. Could you provide a minimal reproduction scenario?