You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@parquet.apache.org by "Uwe L. Korn (JIRA)" <ji...@apache.org> on 2017/06/02 13:46:04 UTC
[jira] [Moved] (PARQUET-1015) Object categoricals are not
serialized when only None is present
[ https://issues.apache.org/jira/browse/PARQUET-1015?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Uwe L. Korn moved ARROW-1083 to PARQUET-1015:
---------------------------------------------
Fix Version/s: (was: 0.5.0)
cpp-1.2.0
Affects Version/s: (was: 0.4.0)
cpp-1.1.0
Component/s: (was: Python)
parquet-cpp
Workflow: patch-available, re-open possible (was: jira)
Key: PARQUET-1015 (was: ARROW-1083)
Project: Parquet (was: Apache Arrow)
> Object categoricals are not serialized when only None is present
> ----------------------------------------------------------------
>
> Key: PARQUET-1015
> URL: https://issues.apache.org/jira/browse/PARQUET-1015
> Project: Parquet
> Issue Type: Bug
> Components: parquet-cpp
> Affects Versions: cpp-1.1.0
> Reporter: Marco Neumann
> Priority: Minor
> Fix For: cpp-1.2.0
>
>
> The following code sample fails with {{pyarrow.lib.ArrowNotImplementedError: NotImplemented: unhandled type}} but should not:
> {noformat}
> import pandas as pd
> import pyarrow as pa
> import pyarrow.parquet as pq
> df = pd.DataFrame({'x': [None]})
> df['x'] = df['x'].astype('category')
> table = pa.Table.from_pandas(df)
> buf = pa.InMemoryOutputStream()
> pq.write_table(table, buf)
> {noformat}
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)