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

Fix CSV Reading Bugs #3314

Merged
merged 1 commit into from
Jun 12, 2024
Merged

Conversation

ShreyasKhandekar
Copy link
Contributor

@ShreyasKhandekar ShreyasKhandekar commented Jun 11, 2024

Resolves failures with CSV testing in multilocale configurations where the files do not correspond to a single locale's data.

Some files have data meant to be distributed across multiple locales
therefore we have to be aware of the lower bound of the line indices to
be read in. In order to do this, we skip over the lines until this lower
bound of the intersection is reached.

Since the domains are continuous, we don't need to worry about any other bounds.

Some files have data meant to be distributed across multiple locales
therefore we have to be aware of the lower bound of the line indices to
be read in. In order to do this, we skip over the lines until this lower
bound is reached. Since the domains are continuous, we don't need to
worry about upper bounds.

Signed-off-by: Shreyas Khandekar <[email protected]>
@ShreyasKhandekar ShreyasKhandekar marked this pull request as ready for review June 11, 2024 23:52
Copy link
Contributor

@bmcdonald3 bmcdonald3 left a comment

Choose a reason for hiding this comment

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

Looks good, thanks Shreyas. Just to confirm, you validated that this now passes the unit testing for multi locale?

@bmcdonald3 bmcdonald3 added this pull request to the merge queue Jun 12, 2024
Merged via the queue into Bears-R-Us:master with commit aed98ea Jun 12, 2024
20 checks passed
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