Skip to content

Comments

PrettyPrint support for StringViewArray and BinaryViewArray#5634

Merged
tustvold merged 1 commit intoapache:masterfrom
alamb:alamb/string_view_display
Apr 15, 2024
Merged

PrettyPrint support for StringViewArray and BinaryViewArray#5634
tustvold merged 1 commit intoapache:masterfrom
alamb:alamb/string_view_display

Conversation

@alamb
Copy link
Contributor

@alamb alamb commented Apr 12, 2024

Which issue does this PR close?

Closes #5509

Rationale for this change

I want to be able to print out these arrays. See #5509

What changes are included in this PR?

  1. Implementation
  2. tests

Are there any user-facing changes?

new feature

@alamb alamb marked this pull request as ready for review April 12, 2024 13:28
@github-actions github-actions bot added the arrow Changes to the arrow crate label Apr 12, 2024
}
}

impl<'a> DisplayIndex for &'a StringViewArray {
Copy link
Contributor Author

Choose a reason for hiding this comment

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

The actual implementation is pretty straightforward. The tests are the largest part of this PR

@tustvold tustvold merged commit 905c46b into apache:master Apr 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

arrow Changes to the arrow crate

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Display support for StringViewArray and BinaryViewArray

2 participants