Skip to content

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

Merged
WillieRuemmele merged 1 commit intomainfrom
cd/bulk-ingest-single-column
Dec 16, 2024
Merged

W-17443248 fix(bulk): fallback columnDelimtier to COMMA#1151
WillieRuemmele merged 1 commit intomainfrom
cd/bulk-ingest-single-column

Conversation

@cristiand391
Copy link
Copy Markdown
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
@git2gus
Copy link
Copy Markdown

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
@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