-
Notifications
You must be signed in to change notification settings - Fork 186
Closed
Labels
bugan unexpected problem or unintended behavioran unexpected problem or unintended behaviordplyr verbs 🤖Translation of dplyr verbs to SQLTranslation of dplyr verbs to SQL
Description
db_write_table.Microsoft SQL Server passes "types" as an argument to dbWriteTable rather than "field.types" like db_write_table.DBIConnection. dbWriteTable methods are expecting the "field.types" argument not the "types"
> dbplyr:::`db_write_table.Microsoft SQL Server`
function (con, table, types, values, temporary = TRUE, ...)
{
table <- mssql_temp_name(table, temporary)
dbWriteTable(con, name = table, types = types, value = values,
temporary = FALSE, row.names = FALSE)
table
}
<environment: namespace:dbplyr>
> dbplyr:::db_write_table.DBIConnection
function (con, table, types, values, temporary = TRUE, ...)
{
dbWriteTable(con, name = dbi_quote(as.sql(table), con), value = values,
field.types = types, temporary = temporary, row.names = FALSE)
table
}
<environment: namespace:dbplyr>Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugan unexpected problem or unintended behavioran unexpected problem or unintended behaviordplyr verbs 🤖Translation of dplyr verbs to SQLTranslation of dplyr verbs to SQL