paleolimbot commented on issue #1397: URL: https://github.com/apache/arrow-adbc/issues/1397#issuecomment-1867747182
I agree that it would be very confusing if a query containing `$bread, $cheese` were passed `data.frame(cheese = 1, bread = 2)` and the parameters were bound by position. It sounds like the idiomatic way to handle this in DBI is to bind by name if possible. Testing aside, a simpler method would also be to add a `bind_by_position = NA` argument to the relevant bind method and warn if `NA` and error if `FALSE` (i.e., make somebody write `DBIStatmentBind(stmt, some_data_frame, bind_by_position = TRUE)` if they don't want a warning. -- 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]
