You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@arrow.apache.org by "Antoine Pitrou (Jira)" <ji...@apache.org> on 2019/08/21 09:46:00 UTC

[jira] [Resolved] (ARROW-6159) [C++] PrettyPrint of arrow::Schema missing identation for first line

     [ https://issues.apache.org/jira/browse/ARROW-6159?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Antoine Pitrou resolved ARROW-6159.
-----------------------------------
    Fix Version/s: 0.15.0
       Resolution: Fixed

Issue resolved by pull request 5147
[https://github.com/apache/arrow/pull/5147]

> [C++] PrettyPrint of arrow::Schema missing identation for first line
> --------------------------------------------------------------------
>
>                 Key: ARROW-6159
>                 URL: https://issues.apache.org/jira/browse/ARROW-6159
>             Project: Apache Arrow
>          Issue Type: Bug
>          Components: C++
>    Affects Versions: 0.14.1
>            Reporter: Joris Van den Bossche
>            Assignee: Wes McKinney
>            Priority: Minor
>              Labels: beginner, pull-request-available
>             Fix For: 0.15.0
>
>          Time Spent: 20m
>  Remaining Estimate: 0h
>
> Minor issue, but I noticed when printing a Schema with indentation, like:
> {code}
>   std::shared_ptr<arrow::Field> field1 = arrow::field("column1", arrow::int32());
>   std::shared_ptr<arrow::Field> field2 = arrow::field("column2", arrow::utf8());
>   std::shared_ptr<arrow::Schema> schema = arrow::schema({field1, field2});
>   arrow::PrettyPrintOptions options{4};
>   arrow::PrettyPrint(*schema, options, &std::cout);
> {code}
> you get 
> {code}
> column1: int32
>     column2: string
> {code}
> so not applying the indent for the first line.



--
This message was sent by Atlassian Jira
(v8.3.2#803003)