-
Notifications
You must be signed in to change notification settings - Fork 107
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
MSSQL Server dbWriteTable fails without batch_row = nrow(value) #814
Comments
odbc::dbWriteTable(con, name = "#TEST", value = data.frame(A = 1:2), overwrite = TRUE, immediate = TRUE, batch_rows = 1) EDIT from Simon: drop output into collapsible
Will update as I find out more about the issue. |
Possibly related to #813, both of which I'd hypothesize are an outcome of #774. Hypothesized issue, tested and does not resolveOne thing I observe when I look through [the diff there](https://github.com//pull/774/files#diff-af2d02b6a9ed515dc1d95e050d0a6415f52350bd36dff64245f83f1b7b7413c8R153-R159)... in:Lines 153 to 159 in 559718b
#691 set The changes from #691 had made it to CRAN before 1.5.0, so if |
I can't replicate with Microsoft's driver, but can do so with the Pro driver. |
In the above, 1024 is indeed the value passed for Line 174 in d7b2351
Sounds like some drivers don't support |
It goes through without any errors, of course, you fixed it! Thanks |
MSSQL Server dbWriteTable fails without batch_row = nrow(value)
Created on 2024-06-06 with reprex v2.1.0
Database
Session Info
The text was updated successfully, but these errors were encountered: