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

Expose secondary instance CSV parsing #791

Merged
merged 2 commits into from
Aug 16, 2024
Merged

Conversation

seadowg
Copy link
Member

@seadowg seadowg commented Aug 16, 2024

Work towards getodk/collect#6350

This exposes the secondary instance CSV parsing code as SecondaryInstanceCSVParserBuilder so that clients can parse secondary instances directly. It also brings in changes from v4.4.1 that makes the standard CSV parsing code in CsvExternalInstance more memory efficient by streaming the CSV into memory rather than load it in one go.

What has been done to verify that this works as intended?

This just exposes existing code, so running existing tests was enough.

Why is this the best possible solution? Were any other approaches considered?

Not a lot to discuss here! I think a builder feels like a pretty standard approach to sharing code like this with clients.

How does this change affect users? Describe intentional changes to behavior and behavior that could have accidentally been affected by code changes. In other words, what are the regression risks?

Very little risk here as, again, it's all existing code.

@seadowg seadowg marked this pull request as ready for review August 16, 2024 15:01
@lognaturel lognaturel merged commit 19abad5 into getodk:master Aug 16, 2024
3 checks passed
@seadowg seadowg deleted the csv-parsing branch August 16, 2024 17:45
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