Skip to content

feat(glib): add gadbc_statement_set_ingest_temporary() - #5083

Merged
kou merged 2 commits into
apache:mainfrom
otegami:feature/glib-ingest-temporary
Dec 1, 2026
Merged

kou merged 2 commits into
apache:mainfrom
otegami:feature/glib-ingest-temporary

Conversation

@otegami

@otegami otegami commented Dec 1, 2026

Copy link
Copy Markdown
Contributor

ADBC has ADBC_INGEST_OPTION_TEMPORARY to ingest into a temporary table,
but GLib had no API for it and ingest in Ruby couldn't pass it.
This also adds temporary: to ingest in Ruby.

ingest in Ruby sets the option only when temporary: is given.
Always setting it would make ingest fail with drivers that don't support the option.

Closes GH-5082.

Assisted-by: Claude Fable 5.2

ADBC has `ADBC_INGEST_OPTION_TEMPORARY` to ingest into a temporary
table, but GLib had no API for it and `ingest` in Ruby couldn't pass it.
This also adds `temporary:` to `ingest` in Ruby.

`ingest` in Ruby sets the option only when `temporary:` is given.
Always setting it would make `ingest` fail with drivers that don't
support the option.

Closes apacheGH-5082.

Assisted-by: Claude Fable 5.2
@otegami
otegami requested review from kou and lidavidm as code owners December 1, 2026 11:49
Comment thread glib/adbc-glib/statement.c Resolved

@kou kou left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

+1

@kou
kou merged commit 81d7e01 into apache:main Dec 1, 2026
18 of 21 checks passed
@otegami
otegami deleted the feature/glib-ingest-temporary branch December 2, 2026 00: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.

glib: add gadbc_statement_set_ingest_temporary()

2 participants