ClickHouse / ClickHouse/clickhouse-go

Is batch.Flush() Atomic?

Open
#903 2 comments 0 reactions 0 assignees View on GitHub
question
Dominant language
Go
Stars
3.3k
Forks
680
Avg merge
2d 3h
Merged PRs (30d)
14

Description

I have a Table in Clickhouse as a ReplicatedMergeTree.

I am inserting large parquet files and I want to confirm whether Batch.flush() offers Atomicity as a guarantee?

Is it possible flushing will only insert rows partially?

Thank you for any assistance , relevant answers will help a lot!

Contributor guide

Open the contributing guide

Research direction

Start by reading the Batch.flush() implementation and checking how ClickHouse handles inserts into ReplicatedMergeTree tables. Determine whether a flush can produce partial rows for large parquet inputs, then document the atomicity guarantee and any relevant limitations or conditions.

Written by the indexing model from the issue text.

Assessment

Tech stack
clickhouse, go
Domain
backend, databases
Issue type
Documentation
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.