You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@arrow.apache.org by "Joris Van den Bossche (Jira)" <ji...@apache.org> on 2022/01/25 20:28: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=17482089#comment-17482089 ]
Joris Van den Bossche commented on ARROW-8228:
----------------------------------------------
Example with fixed size list:
{code:python}
>>> arr = pa.array([[1, 2], None, [3, 4]], pa.list_(pa.int64(), 2))
>>> arr.values
<pyarrow.lib.Int64Array object at 0x7f64aeebb820>
[
1,
2,
null,
null,
3,
4
]
>>> pq.write_table(pa.table({"col": arr}), "test.parquet")
ArrowNotImplementedError: Lists with non-zero length null components are not supported
{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: 8.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.20.1#820001)