Skip to content
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

Create simple way to leverage bulk #43

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

aheber
Copy link

@aheber aheber commented Aug 30, 2019

Add a wrapper func around the lower level bulk actions that automatically opens jobs, sends data to them, and closes them. Chunking the data on the thresholds for the V2 API file size.

aheber added 2 commits August 29, 2019 18:28
Expanded record to supported lookup relationships in queries e.g. `SELECT Id, Name, Account.Name FROM Account`
Add a wrapper func around the lower level bulk actions that automatically opens jobs, sends data to them, and closes them. Chunking the data on the thresholds for the V2 API file size.
@aheber
Copy link
Author

aheber commented Aug 30, 2019

I'm open to alternatives for how to implement this. I found there was a lot of steps to updating records through the bulk API as well as hitting a hard file size limit. This took care of the majority of the work in a consistent way.

I haven't written tests yet, wanted to look for feedback first.

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant