I am using simple-salesforce python library using REST to call bulk services which is working fine till calling but for large dataset library continuously poll the batch status and spit all result (in my case it is 1mn) but I am getting only 7lac records in python codebase, I double checked the load jobs which displayed the total record in processed state.
In other case when I tried the same with csv it stream out whole data with xml content type. But with rest I am getting incomplete data.
What should I suppose to do for whole data, I checked with library and found it should stream data or chunk data through loop instead giving directly.