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

W-17443248 fix(bulk): fallback columnDelimtier to COMMA #1151

Merged
merged 1 commit into from
Dec 16, 2024

Conversation

cristiand391
Copy link
Member

@cristiand391 cristiand391 commented Dec 16, 2024

What does this PR do?

Updates detectDelimiter utility to fallback to COMMA if it can't find the delimiter used in a CSV file:
#1110 (comment)

We already do this for data delete bulk (the CSV is required to be just 1-column of record IDs):

// CSV file for `delete/HardDelete` operations only have 1 column (ID), we set it to `COMMA` if not specified but any delimiter works.

We set it to COMMA in the payload but any valid delimiter works, the API defaults to COMMA if not specified anyway:
https://developer.salesforce.com/docs/atlas.en-us.api_asynch.meta/api_asynch/create_job.htm

What issues does this PR fix or reference?

@W-17443248@

@cristiand391 cristiand391 added the bug Something isn't working label Dec 16, 2024
Copy link

git2gus bot commented Dec 16, 2024

This issue has been linked to a new work item: W-17443248

@WillieRuemmele WillieRuemmele merged commit 82d1e5e into main Dec 16, 2024
33 of 35 checks passed
@WillieRuemmele WillieRuemmele deleted the cd/bulk-ingest-single-column branch December 16, 2024 18:51
@iowillhoit iowillhoit changed the title fix(bulk): fallback columnDelimtier to COMMA W-17443248 fix(bulk): fallback columnDelimtier to COMMA Jan 27, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants