You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@arrow.apache.org by "Antoine Pitrou (Jira)" <ji...@apache.org> on 2020/09/28 16:39:00 UTC
[jira] [Commented] (ARROW-8228) [C++][Parquet] Support writing
lists that have null elements that are non-empty.
[ https://issues.apache.org/jira/browse/ARROW-8228?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17203349#comment-17203349 ]
Antoine Pitrou commented on ARROW-8228:
---------------------------------------
[~emkornfield@gmail.com] Can you elaborate on what's needed here?
The following is working at least:
{code:python}
>>> table = pa.table({"lists": [[1,2,None], None, [], [4,5]]})
>>> pq.write_table(table, "tt.pq")
>>> pq.read_table("tt.pq")
pyarrow.Table
lists: list<item: int64>
child 0, item: int64
>>> pq.read_table("tt.pq").to_pandas()
lists
0 [1.0, 2.0, nan]
1 None
2 []
3 [4.0, 5.0]
{code}
> [C++][Parquet] Support writing lists that have null elements that are non-empty.
> --------------------------------------------------------------------------------
>
> Key: ARROW-8228
> URL: https://issues.apache.org/jira/browse/ARROW-8228
> Project: Apache Arrow
> Issue Type: Improvement
> Components: C++
> Reporter: Micah Kornfield
> Priority: Major
> Fix For: 2.0.0
>
>
> With the new V2 level writing engine we can detect this case but fail as not implemented. Fixing this will require changes to the "core" parquet API.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)