Skip to content

docs: document COPY FROM atomicity - #37909

Merged
maheshwarip merged 1 commit into
mainfrom
docs/copy-from-atomicity
Jul 28, 2026
Merged

docs: document COPY FROM atomicity#37909
maheshwarip merged 1 commit into
mainfrom
docs/copy-from-atomicity

Conversation

@claude

@claude claude Bot commented Jul 28, 2026

Copy link
Copy Markdown
Contributor

Requested by Pranshu Maheshwari · Slack thread

Motivation

A question came up about whether COPY FROM is atomic when reading multiple files from an S3 location: if it fails partway, could some files be ingested and others not? The confirmed behavior is that the whole operation is atomic (all batches are staged before commit, and any failure commits nothing), but this guarantee was not documented.

Description

Add an Atomicity subsection to the COPY FROM Details section, stating that the entire operation commits in a single transaction and that a partial failure commits no data.

Verification

Docs-only change to doc/user/content/sql/copy-from.md. Adds a single ### subsection under Details containing a plain paragraph with inline code and no new Hugo shortcodes. Confirmed the added heading level and placement match the surrounding Details subsections and that git diff shows only the intended addition.


Generated by Claude Code

@maheshwarip
maheshwarip marked this pull request as ready for review July 28, 2026 16:26
@maheshwarip
maheshwarip requested a review from a team as a code owner July 28, 2026 16:26
@maheshwarip
maheshwarip merged commit 6549653 into main Jul 28, 2026
17 checks passed
@maheshwarip
maheshwarip deleted the docs/copy-from-atomicity branch July 28, 2026 20:02
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.

4 participants