apache / apache/arrow

[C++] Right-justify array values in PrettyPrint

Open
#19,256 1 comment 0 reactions 0 assignees View on GitHub
Component: C++ Type: task
Dominant language
C++
Stars
17.1k
Forks
4.3k
Avg merge
3d 13h
Merged PRs (30d)
88

Description

Currently we the output of `PrettyPrint` for an array looks as follows:

```Java

[
1,
NA
]
```

We should right-justify it for better readability:

```Java

[
1,
NA
]
```

**Reporter**: [Uwe Korn](https://issues.apache.org/jira/browse/ARROW-2885) / @xhochy
#### Related issues:
- [PrettyPrint Improvements](https://github.com/apache/arrow/issues/33527) (is a child of)

**Note**: *This issue was originally created as [ARROW-2885](https://issues.apache.org/jira/browse/ARROW-2885). Please see the [migration documentation](https://github.com/apache/arrow/issues/14542) for further details.*

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.