go/adbc/driver/snowflake: Support binding parameters by name
Open
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
Assessment
This issue has not been assessed yet.