You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@parquet.apache.org by "Wes McKinney (JIRA)" <ji...@apache.org> on 2019/08/15 16:51:00 UTC

[jira] [Comment Edited] (PARQUET-644) [C++] Add API for writing boolean values as a packed bitmap

    [ https://issues.apache.org/jira/browse/PARQUET-644?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16908283#comment-16908283 ] 

Wes McKinney edited comment on PARQUET-644 at 8/15/19 4:50 PM:
---------------------------------------------------------------

It's probably easiest now (after ARROW-3246) to implement {{TypedEncoder::Put(const arrow::Array&)}} for BooleanArray inputs


was (Author: wesmckinn):
It's probably easiest now to implement {{TypedEncoder::Put(const arrow::Array&)}} for BooleanArray inputs

> [C++] Add API for writing boolean values as a packed bitmap
> -----------------------------------------------------------
>
>                 Key: PARQUET-644
>                 URL: https://issues.apache.org/jira/browse/PARQUET-644
>             Project: Parquet
>          Issue Type: New Feature
>          Components: parquet-cpp
>            Reporter: Wes McKinney
>            Assignee: Shuai Lin
>            Priority: Major
>
> Presently, the TypedColumnWriter for booleans expects a {{bool*}} (i.e. 1 byte per value). Some writers may also use a LSB-ordered bitmap, and we could write that directly rather than having to copy the bits into a temporary {{bool*}}



--
This message was sent by Atlassian JIRA
(v7.6.14#76016)