Skip to content

Conversation

burmecia
Copy link
Member

@burmecia burmecia commented Sep 23, 2025

What kind of change does this PR introduce?

This PR is to add INSERT support for Iceberg FDW.

Examples:

-- insert a single record
insert into iceberg.guides (id, title, content, created_at)
values (100, 'New Guide', 'This is a new guide', now());

-- insert multiple records at once
insert into iceberg.guides (id, title, content, created_at)
values
  (101, 'Guide A', 'Content for Guide A', now()),
  (102, 'Guide B', 'Content for Guide B', now()),
  (103, 'Guide C', 'Content for Guide C', now());

-- insert data from a SELECT query
insert into iceberg.guides (id, title, content, created_at)
select
  id + 1000,
  'Migrated: ' || title,
  content,
  created_at
from other_guides
where id < 10;

What is the current behavior?

Iceberg FDW is read-only.

What is the new behavior?

Iceberg FDW can support INSERT now.

Additional context

This PR also upgraded Rust version to 1.86.0 and fixed several clippy warning introduced by the new version of Rust.

@burmecia burmecia changed the title feat(iceberg): add INSERT support for Iceberg FDW feat(iceberg): [WRA-2] add INSERT support for Iceberg FDW Sep 23, 2025
@burmecia burmecia requested a review from imor September 24, 2025 15:01
@burmecia burmecia added the enhancement New feature or request label Sep 24, 2025
@burmecia burmecia merged commit d773e46 into main Oct 1, 2025
6 checks passed
@burmecia burmecia deleted the bo/feat/iceberg-insert branch October 1, 2025 23:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request iceberg

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants