-
Notifications
You must be signed in to change notification settings - Fork 110
Cannot insert multiple rows with a date or timestamp field - Oracle #391
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
Comments
Setting options(odbc.batch_rows = 1) fixes this issue. I'm not sure why though since there was no issue inserting multiple rows when there are no date columns. |
Didn’t mean to close. Although setting batch_rows to 1 fixes the issue, it’s not great if it is significantly slower. |
Closing again as it is the same as #350 |
jimhester
added a commit
that referenced
this issue
Oct 23, 2020
Rather than a batch size of 1024 Avoids issues with drivers (like Oracle) that have problems if the batch size does not match the size of the input Fixes (#391)
Should now be resolved by 65870d3 |
Merged
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Issue Description and Expected Result
When I try to insert a data frame that contains either a date or timestamp field into a table, using either an insert statement or
dbWriteTable
, I get an error if the data frame has more than one row.Database
Oracle Database 19c Enterprise Edition
Reproducible Example
Session Info
The text was updated successfully, but these errors were encountered: