You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@arrow.apache.org by "Wes McKinney (Jira)" <ji...@apache.org> on 2019/08/21 02:54:00 UTC
[jira] [Assigned] (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 ]
Wes McKinney reassigned ARROW-6159:
-----------------------------------
Assignee: Wes McKinney
> [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
>
> 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)