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

2018-02-02 Thread Malcolm Dennison (JIRA)

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

Malcolm Dennison commented on PARQUET-1186:
---

Sorry:

In [2]: pa.__version__
Out[2]: '0.8.0'

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


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

2018-02-01 Thread Wes McKinney (JIRA)

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

Wes McKinney commented on PARQUET-1186:
---

What version of pyarrow are you using? 

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


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

2018-02-01 Thread Malcolm Dennison (JIRA)

[ 
https://issues.apache.org/jira/browse/PARQUET-1186?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=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)