-
-
Notifications
You must be signed in to change notification settings - Fork 19
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
Error when trying to enable PKChunking #124
Comments
As an aside, when I try that query without the line Error:
! Column name `result` must not be duplicated.
Use .name_repair to specify repair.
Caused by error in `repaired_names()`:
! Names must be unique.
✖ These names are duplicated:
* "result" at locations 1 and 2. Not sure if that helps or confuses... 😆 |
Perhaps I should add (although it may be more appropriate to submit as a separate issue?) that when I try using the Bulk 2.0 API I get the following error message: Error in rbindlist(l = l, fill = fill, idcol = idcol, ...) :
Class attribute on column 7 of item 2 does not match with column 9 of item 1. I actually get this error message pretty commonly when using the Bulk 2.0 option with Not sure how to debug this... |
Attempt to fix the error caused by having more than one query batch created for ones using the PKChunking option (#124) Also, this commit includes changes to as_tibble() that make the name repair argument explicit.
Provide this argument in an attempt to fix issues like the one mentioned in #124 where the sf_query() function bombs out because of duplicated column names in the tibble.
Thanks @charithlw for flagging these issues! They seem to be 3 different, but all slightly related issues, so I'll try to address each in the order you've mentioned them. Issue 1:
|
Hi @StevenMMortimer so can confirm that Issue 3 was solved with the workaround that you suggested which is to use |
Closing. This bug was fixed in v1.0.2 which was accepted by CRAN on Nov 6. |
Issue description
Hi, I'm running into an issue trying to enable PKChunking on a query I'm making to SF. I am referring to your answer on SO here but I keep getting the error message
Error in if (grepl("/services/data/v[0-9]{2}.[0-9]{1}/jobs/ingest", url)) { : the condition has length > 1
.Do you have any idea what might be going wrong?
Have included the query, verbose output and session info. I'm new to salesforce and your package, so please let me know what other information might help you troubleshoot this issue.
Query
Verbose output
Session Info
The text was updated successfully, but these errors were encountered: