Skip to content

fix: stabilize bulk write columns - #34

Merged
smiggleworth merged 1 commit into
mainfrom
fix/stable-bulk-column-set
Aug 24, 2026
Merged

fix: stabilize bulk write columns#34
smiggleworth merged 1 commit into
mainfrom
fix/stable-bulk-column-set

Conversation

@smiggleworth

Copy link
Copy Markdown
Contributor

Closes #24.

Summary

  • derive the bulk-write column set once from the full input
  • reuse that set for every insert and upsert chunk
  • verify heterogeneous rows produce chunk-size-independent columns and conflict updates

Validation

  • npm run check

No package version or publishing changes.

@smiggleworth
smiggleworth marked this pull request as ready for review August 24, 2026 08:26
Copilot AI lite review requested due to automatic review settings August 24, 2026 08:26

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.

@smiggleworth
smiggleworth merged commit 7012ba6 into main Aug 24, 2026
4 checks passed
@smiggleworth
smiggleworth deleted the fix/stable-bulk-column-set branch August 24, 2026 08:43
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.

insertMany/upsertMany derive column set per-chunk, causing chunk-size-dependent SQL and inconsistent upserts

2 participants