[
https://issues.apache.org/jira/browse/ARROW-6159?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Joris Van den Bossche updated ARROW-6159:
-----------------------------------------
Labels: beginner (was: )
> [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
> Priority: Minor
> Labels: beginner
>
> 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
(v7.6.14#76016)