I want to ask regarding BULK API 2.0 Query/data downloading through workbench and postman.

Scenario I am downloading salesforce data in form of CSV. Query i am executing is "SELECT Id,Name,BillingStreet,FAX FROM Account"

Output: The result/CSV of this query is coming in alphabetically sorted order of Column Names.


Expected Output: The result/CSV should be in the order the columns are written in SOQL query.

For example


This Behaviour was not observed in BULK API 1.0

Could you please let me know if this is the behaviour of BULK API 2.0 and if we can do any change at API level to get CSV in unsorted form.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.