-
Notifications
You must be signed in to change notification settings - Fork 78
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
sf data export bulk fails in JSON for large extracts #3138
Comments
Thank you for filing this issue. We appreciate your feedback and will review the issue as soon as possible. Remember, however, that GitHub isn't a mechanism for receiving support under any agreement or SLA. If you require immediate assistance, contact Salesforce Customer Support. |
hey, sorry about that, it's likely this line (trying to remember why I added it on purpose):
correct, we fetch the first batch (API returns it as a CSV), parse it and write records as JSON: for CSV we do append only, no check if file exists: |
All good @cristiand391, I'm working around that using csvtojson for now... I'm glad it can take big files alright. |
This issue has been linked to a new work item: W-17380350 |
the fix for this is available in our nightly channel if you want to give it a try: it will be promoted to RC on Wed. 11 and to stable on Wed 18. Thanks for the heads up! |
Thanks @cristiand391 I will check it out by the end of the week and provide feedback! |
@cristiand391 I used rc 2.70.7 and was able to extract in JSON format using data export bulk. I will follow up on Dec 18 to close this issue, thanks for the quick fix! |
This issue has been addressed in version 2.70.7 (December 18, 2024). Thx! |
### Summary
sf data export bulk fails in JSON for large extracts, works fine in CSV
### Steps To Reproduce
Expected result
JSON file with 5.5 million records should be created.
Actual result
JSON file with 250 thousand records was created.
Additional information
System Information
Using zsh inside VSCode.
The text was updated successfully, but these errors were encountered: