You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@parquet.apache.org by "Malcolm Dennison (JIRA)" <ji...@apache.org> on 2018/02/02 01:13:00 UTC

[jira] [Commented] (PARQUET-1186) [C++] Handling Arrow reads that overflow a BinaryArray capacity

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

Malcolm Dennison commented on PARQUET-1186:
-------------------------------------------

This may be a different issue but the error message is the same: If you attempt to build a table from a very large dataframe with category type column(s) you will get the same error: "ArrowInvalid: BinaryArray cannot contain more than 2147483646 bytes"
the command I'm using to get the error is:
table = pa.Table.from_pandas(df)

This same command will work on the large dataframe after casting the category column(s) to object (using astype) 

-t

> [C++] Handling Arrow reads that overflow a BinaryArray capacity
> ---------------------------------------------------------------
>
>                 Key: PARQUET-1186
>                 URL: https://issues.apache.org/jira/browse/PARQUET-1186
>             Project: Parquet
>          Issue Type: Bug
>          Components: parquet-cpp
>            Reporter: Wes McKinney
>            Priority: Major
>             Fix For: cpp-1.4.0
>
>
> See comment thread in https://stackoverflow.com/questions/48115087/converting-parquetfile-to-pandas-dataframe-with-a-column-with-a-set-of-string-in 



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)