Skip to content

Enable CSV Batching #509

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

Merged
merged 1 commit into from
Oct 3, 2024
Merged

Enable CSV Batching #509

merged 1 commit into from
Oct 3, 2024

Conversation

harmanT23
Copy link
Contributor

@harmanT23 harmanT23 commented Sep 29, 2024

I noticed that although CSV batching was implemented in CsvEnumerator, it was not implemented yet in EnumeratorBuilder.

I've gone ahead and added in build_csv_enumerator_on_batches with a default batch_size of 100 identical to the default used for active record batching along with an alias of csv_on_batches.

@harmanT23 harmanT23 self-assigned this Sep 29, 2024
@harmanT23 harmanT23 force-pushed the htatla-add-csv-batching branch from f89ccb9 to 0a16f41 Compare September 29, 2024 23:57
Copy link
Contributor

@Mangara Mangara left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice! Can you add this to the change log under unreleased?

A rebase should fix the CI failure.

@harmanT23 harmanT23 force-pushed the htatla-add-csv-batching branch from 0a16f41 to 18a8b11 Compare October 3, 2024 21:21
@harmanT23 harmanT23 force-pushed the htatla-add-csv-batching branch from 18a8b11 to 3604054 Compare October 3, 2024 21:27
@harmanT23 harmanT23 merged commit 2b56a7a into main Oct 3, 2024
49 checks passed
@harmanT23 harmanT23 deleted the htatla-add-csv-batching branch October 3, 2024 21:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants