apache / apache/arrow-adbc

go/adbc/driver/snowflake: Support binding parameters by name

Open
#2,193 1 comment 3 reactions 0 assignees View on GitHub
Type: enhancement
Dominant language
C#
Stars
627
Forks
217
Avg merge
17h
Merged PRs (30d)
57

Description

### What feature or improvement would you like to see?

ADBC parameter binding works by binding an array and schema. This allows for the possibility of named bindings in the query and not just positional bindings. The Snowflake driver ignores the names in the schema and just binds the individual columns by ordinal. It's not possible without parsing the command text to know whether it uses positional binding markers (`?`) or named binding markers (`:name`), so enabling support for binding by name will probably require opting-in with a statement option e.g. `adbc.snowflake.statement.bind_parameters_by_name`.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.