[ 
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)

Reply via email to