amoeba commented on code in PR #3362:
URL: https://github.com/apache/arrow-adbc/pull/3362#discussion_r2308493892
##########
c/driver/sqlite/sqlite_test.cc:
##########
@@ -826,6 +828,32 @@ TEST_F(SqliteReaderTest, InferTypedParams) {
"[SQLite] Type mismatch in column 0: expected INT64 but got
DOUBLE"));
}
+TEST_F(SqliteReaderTest, BindByName) {
+ adbc_validation::StreamReader reader;
+ Handle<struct ArrowSchema> schema;
+ Handle<struct ArrowArray> batch;
+
+ ASSERT_THAT(adbc_validation::MakeSchema(&schema.value,
+ {
+ {"@b", NANOARROW_TYPE_INT64},
Review Comment:
I may find this as I keep looking but does the ADBC SQLite driver support
[all five parameter syntaxes](https://www.sqlite.org/lang_expr.html#varparam)
SQLite itself does? Further, it looks like DBAPI 2.0 limits this to just two
styles (qmark, named), so then would/should the DBAPI interface only support
`?` and `:AAAA`?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]