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

Dictionary encoding should handle zero length strings #3493

Conversation

Shelnutt2
Copy link
Member

Zero length strings are valid and supported by TileDB. The zero length encoding had some safety checks were got tripped up. This adjusts the checks and adds a unit test to ensure support going forward.


TYPE: BUG
DESC: Dictionary encoding should handle zero length strings

Zero length strings are valid and supported by TileDB. The zero length
encoding had some safety checks were got tripped up. This adjusts the
checks and adds a unit test to ensure support going forward.
@shortcut-integration
Copy link

This pull request has been linked to Shortcut Story #20973: DictionaryEncoding size should support empty string.

Copy link
Member

@ypatia ypatia left a comment

Choose a reason for hiding this comment

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

Thanks for that fix too. The UT failure seems unrelated to this PR, it's probably a transient failure introduced after : #3130

@Shelnutt2 Shelnutt2 merged commit 5a8e268 into dev Sep 1, 2022
@Shelnutt2 Shelnutt2 deleted the sethshelnutt/sc-20973/dictionaryencoding-size-should-support-empty branch September 1, 2022 01:44
github-actions bot pushed a commit that referenced this pull request Sep 1, 2022
Zero length strings are valid and supported by TileDB. The zero length
encoding had some safety checks were got tripped up. This adjusts the
checks and adds a unit test to ensure support going forward.
ihnorton pushed a commit that referenced this pull request Sep 1, 2022
Zero length strings are valid and supported by TileDB. The zero length
encoding had some safety checks were got tripped up. This adjusts the
checks and adds a unit test to ensure support going forward.

Co-authored-by: Seth Shelnutt <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants