Skip to content

Update basic-concepts.md to add some descriptions about data writing#3301

Merged
JingsongLi merged 1 commit intoapache:masterfrom
AidenPerce:patch-1
May 7, 2024
Merged

Update basic-concepts.md to add some descriptions about data writing#3301
JingsongLi merged 1 commit intoapache:masterfrom
AidenPerce:patch-1

Conversation

@AidenPerce
Copy link
Contributor

Add some descriptions about data writing.

Purpose

Linked issue: close #xxx

Tests

API and Format

Documentation

Add some descriptions about data writing.

Paimon writers use two-phase commit protocol to atomically commit a batch of records to the table. Each commit produces
at most two [snapshots]({{< ref "concepts/basic-concepts#snapshot" >}}) at commit time.
at most two [snapshots]({{< ref "concepts/basic-concepts#snapshot" >}}) at commit time. It depends on the incremental write and compaction strategy. If only incremental writes are performed without triggering a compaction operation, only an incremental snapshot will be created. If a compaction operation is triggered, an incremental snapshot and a compacted snapshot will be created.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

maybe 'incremental' -> 'append'?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

maybe 'incremental' -> 'append'?

yeah, maybe called 'the snapshot of kind Append'? But the data of this snapshot is the incremental data during the checkpoint?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

OK, I am OK with current description.

@JingsongLi JingsongLi merged commit 3df68f1 into apache:master May 7, 2024
@AidenPerce AidenPerce deleted the patch-1 branch May 8, 2024 02:39
sunxiaojian pushed a commit to sunxiaojian/paimon that referenced this pull request May 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants