ClickHouse / ClickHouse/clickhouse-java

Batch insert failed

Open
#2,370 3 comments 0 reactions 0 assignees View on GitHub
area:jdbc-insert jdbc-v2 question
Dominant language
Java
Stars
1.6k
Forks
636
Avg merge
2d 23h
Merged PRs (30d)
29

Description

### Company or project name

_No response_

### Question

Why does the SQL in my XML file execute normally when inserted individually, but an error occurs when executed in batches, and the error code is -2, and I can't tell where the problem lies?

Contributor guide

Open the contributing guide

Research direction

The report names no source file, test, or entry point. Begin by reproducing the XML SQL batch insert and capturing the context around error code -2; completion cannot be defined from the report because no reproducible case or expected behavior is provided.

Written by the indexing model from the issue text.

Assessment

Tech stack
java, sql
Domain
databases
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Quiet
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.