Skip to content

Expose prepared result metadata without execution - #3

Draft
nicosuave wants to merge 1 commit into
mainfrom
prepared-result-schema
Draft

nicosuave wants to merge 1 commit into
mainfrom
prepared-result-schema

Conversation

@nicosuave

Copy link
Copy Markdown
Member

Add fallible prepared_schema and prepared_column_logical_type accessors so callers can describe result columns without running the statement. Arrow metadata uses DuckDB logical types, original names, and current connection conversion options; unresolved parameter types and unsupported Arrow types return errors.

Coverage verifies sequence and DML side effects remain untouched, INSERT/UPDATE/DELETE/MERGE RETURNING, Decimal(38,12), UUID conversion settings, lists, timestamps, and parameter binding. All 304 duckdb library tests pass with DuckDB 1.5.5 and Arrow 58.

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.

1 participant