Update basic-concepts.md to add some descriptions about data writing#3301
Merged
JingsongLi merged 1 commit intoapache:masterfrom May 7, 2024
Merged
Update basic-concepts.md to add some descriptions about data writing#3301JingsongLi merged 1 commit intoapache:masterfrom
JingsongLi merged 1 commit intoapache:masterfrom
Conversation
Add some descriptions about data writing.
JingsongLi
reviewed
May 7, 2024
|
|
||
| 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. |
Contributor
There was a problem hiding this comment.
maybe 'incremental' -> 'append'?
Contributor
Author
There was a problem hiding this comment.
maybe 'incremental' -> 'append'?
yeah, maybe called 'the snapshot of kind Append'? But the data of this snapshot is the incremental data during the checkpoint?
Contributor
There was a problem hiding this comment.
OK, I am OK with current description.
sunxiaojian
pushed a commit
to sunxiaojian/paimon
that referenced
this pull request
May 28, 2024
JingsongLi
pushed a commit
that referenced
this pull request
May 30, 2024
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Add some descriptions about data writing.
Purpose
Linked issue: close #xxx
Tests
API and Format
Documentation