Skip to content

Support named args in the Arrow interface#143

Open
lscheibel wants to merge 1 commit into
duckdb:mainfrom
lscheibel:arrow-named-args
Open

Support named args in the Arrow interface#143
lscheibel wants to merge 1 commit into
duckdb:mainfrom
lscheibel:arrow-named-args

Conversation

@lscheibel
Copy link
Copy Markdown

I noticed while working with the arrow interface that passing named args does not seem to be supported at the moment.

This PR unwraps sql.NamedArg in argsToNamedArgs, populating driver.NamedValue.Name. This is how Go's database/sql builds driver.NamedValue internally.

Only the arrow context is affected, as it doesn't use database/sql directly.

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