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

Closes #2560 - Fixes Missing empty segments for parquet read of segarray with string values #2562

Merged

Conversation

Ethan-DeBandi99
Copy link
Contributor

Closes #2560

This issue resulted from the Strings case within SegArray's write workflow not properly handling empty segments. Thus, it only wrote segments with length>0. I added the check for 0 length segments and handling to write the empty segment into the Parquet file.

I also added a test using the example provided in the issue to ensure functionality.

Copy link
Contributor

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

Copy link
Member

@stress-tess stress-tess 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!!

@stress-tess stress-tess added this pull request to the merge queue Jul 11, 2023
Merged via the queue into Bears-R-Us:master with commit 0eb3008 Jul 11, 2023
@Ethan-DeBandi99 Ethan-DeBandi99 deleted the 2560_parquet_str_empty_bug branch July 12, 2023 13:13
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.

Missing empty segments for parquet read of segarray with string values
3 participants