-
Notifications
You must be signed in to change notification settings - Fork 827
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
Minor: Document pattern for accessing views in StringView #6673
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
That's really nice! Much appreciate it @alamb 👍
/// Comparing two `GenericByteViewArray` using PartialEq compares by structure | ||
/// (the `u128`s) and contents of the buffers, not by logical content. As there |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
IMO this is a bug, the other array data equality implementations compute logical equality
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Filed #6679
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, although I think the PartialEq situation is a bug that should be fixed
Tracked in #6679 |
Thank you for the reviews @austin362667 @tustvold and @jayzhan211 |
Which issue does this PR close?
Closes #.
Rationale for this change
While reviewing #6671 (review) from @austin362667 I got nerdsniped trying to find documentation on how to work with the views of the StringView
What changes are included in this PR?
GenericByteViewArray
u128
viewsAre there any user-facing changes?
Better docs. No functional changes