Open hrishy opened 5 years ago
Hi @hrishy did u find solution to this?
Pk_chunking actually refers to chunk_size and the default value is 2048 I used vs code ide to figure this out
On Mon 23 Dec, 2019, 11:48 AM kunal4422, notifications@github.com wrote:
Hi @hrishy https://github.com/hrishy did u find solution to this?
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/heroku/salesforce-bulk/issues/74?email_source=notifications&email_token=AJCOEWPWM2BQO44YHTPOJJDQ2BJ3FA5CNFSM4IO3G36KYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEHQKJXA#issuecomment-568370396, or unsubscribe https://github.com/notifications/unsubscribe-auth/AJCOEWOA2IAUEY6WJOIH6GLQ2BJ3FANCNFSM4IO3G36A .
@hrishy didnt got you. I am having same code as you and also same error. Instead of pk_chunking=True i tried to give pk_chunking=100000; as given in example. What exactly should i do to rectify this error? Somewhere we have to use get_batch_items() for iterating between batches. How did u solve it?
Hi
My apologies I don't have acesses to my code now but I do remember vaguely that I used visual studio code to explore the method defination and that is when I came to know that pk_chunk is actually chunk_size in the method and default value is 2048 if you don't specify it
On Mon 23 Dec, 2019, 3:48 PM kunal4422, notifications@github.com wrote:
@hrishy https://github.com/hrishy didnt got you. I am having same code as you and also same error. Instead of pk_chunking=True i tried to give pk_chunking=100000; as given in example. What exactly should i do to rectify this error? Somewhere we have to use get_batch_items() for iterating between batches. How did u solve it?
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/heroku/salesforce-bulk/issues/74?email_source=notifications&email_token=AJCOEWNAKRQ2CVV7WVWDMOTQ2CF7FA5CNFSM4IO3G36KYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEHQZHHA#issuecomment-568431516, or unsubscribe https://github.com/notifications/unsubscribe-auth/AJCOEWMEFWLYWLY53WNCPDLQ2CF7FANCNFSM4IO3G36A .
I added an example to the README which shows how to use PK Chunking. Let me know if that helps you. https://github.com/heroku/salesforce-bulk/pull/77/files
I added an example to the README which shows how to use PK Chunking. Let me know if that helps you. https://github.com/heroku/salesforce-bulk/pull/77/files
This should be merged into README. It works really well. Thanks a lot.
Hi
I tried the example in the documentation
BulkBatchFailed Traceback (most recent call last)