Calling the fetch(res, n=-1) fails on 2.5mil line result set.
Variable df within .oci.fetch contains:
[1] "Error in try({ : embedded nul in string: '\\0'\n"
attr(,"class")
[1] "try-error"
attr(,"condition")
<simpleError in doTryCatch(return(expr), name, parentenv, handler): embedded nul in string: '\0'>
Invocation of the .Call("rociResFetch", rs@handle, n, PACKAGE = "ROracle") leads to Error: embedded nul in string: '\0'.
This is not returned by .oci.fetch function properly because condition in
if (inherits(res, "try-error"))
stop(res)
is tautology.