Repository navigation
fix(iceberg): reject DML for append-only mappings - #27255
Conversation
Qodo reviews are paused for this user.Troubleshooting steps vary by plan Learn more → On a Teams plan? Using GitHub Enterprise Server, GitLab Self-Managed, or Bitbucket Data Center? |
XuPeng-SH
left a comment
There was a problem hiding this comment.
Deep-reviewed 0097e7b. The runtime request carries the mapping write_mode from the validated Iceberg create-SQL envelope, and DELETE, UPDATE, MERGE, and OVERWRITE all enter this coordinator factory. The new merge_on_read guard therefore rejects every non-append mutation before catalog, credential, metadata, or object access. Append INSERT remains routed to the append coordinator, where append_only is still accepted. The error is typed and includes operation/table/mode context. Verified pkg/sql/iceberg normal and race suites, focused compile and planner Iceberg paths, go vet, and diff hygiene.
Merge Queue Status
This pull request spent 2 hours 7 minutes 42 seconds in the queue, including 1 hour 2 minutes 8 seconds running CI. Required conditions to merge
|
fix(iceberg): reject DML for append-only mappings Approved by: @XuPeng-SH
fix(iceberg): reject DML for append-only mappings Approved by: @XuPeng-SH
fix(iceberg): reject DML for append-only mappings Approved by: @XuPeng-SH
What type of PR is this?
Which issue(s) this PR fixes:
issue #27211
What this PR does / why we need it:
fix(iceberg): reject DML for append-only mappings