[
https://issues.apache.org/jira/browse/ARROW-6159?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
ASF GitHub Bot updated ARROW-6159:
----------------------------------
Labels: beginner pull-request-available (was: beginner)
> [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
>
> 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)