You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@arrow.apache.org by "Joris Van den Bossche (Jira)" <ji...@apache.org> on 2022/01/19 12:06:00 UTC
[jira] [Commented] (ARROW-15363) [C++] Add max length option to PrettyPrintOptions
[ https://issues.apache.org/jira/browse/ARROW-15363?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17478622#comment-17478622 ]
Joris Van den Bossche commented on ARROW-15363:
-----------------------------------------------
See also my comment at https://github.com/apache/arrow/pull/12091#issuecomment-1016192978
Another option to consider is to have a max length on the "scalar" level, instead of the array level (in practice, this might only be relevant/necessary for variable sized types, i.e. binary and string; I think all other non-nested types have a fixed / max length)
> [C++] Add max length option to PrettyPrintOptions
> -------------------------------------------------
>
> Key: ARROW-15363
> URL: https://issues.apache.org/jira/browse/ARROW-15363
> Project: Apache Arrow
> Issue Type: Improvement
> Components: C++
> Affects Versions: 6.0.1
> Reporter: Will Jones
> Priority: Major
> Fix For: 8.0.0
>
>
> Some pretty prints, especially for chunked or nested arrays, can be very long even with reasonable window settings. We should have a way to set some target maximum length to output.
> A half-measure was taken with ARROW-15329, which truncates the output of the pretty printing, but that doesn't handle string columns very well if those string values contain delimiters.
--
This message was sent by Atlassian Jira
(v8.20.1#820001)