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

Improve ScalarBuffer debug output #3907

Merged
merged 1 commit into from
Mar 22, 2023

Conversation

tustvold
Copy link
Contributor

Which issue does this PR close?

Closes #.

Rationale for this change

Before the output was

ScalarBuffer { buffer: Buffer { data: Bytes { ptr: 0x7f96bc000d10, len: 12, data: [1, 0, 0, 0, 2, 0, 0, 0, 3, 0, 0, 0] }, ptr: 0x7f96bc000d10, length: 12 }, phantom: PhantomData<i32> }

After this change it is

ScalarBuffer([1, 2, 3])

This makes it significantly easier to interpret

What changes are included in this PR?

Are there any user-facing changes?

@github-actions github-actions bot added the arrow Changes to the arrow crate label Mar 22, 2023
@tustvold tustvold merged commit dc23fa3 into apache:master Mar 22, 2023
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.

2 participants