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/07/08 08:00:00 UTC

[jira] [Commented] (ARROW-14782) [C++][Python] The ORC writer does not support all-null object columns from Pandas

    [ https://issues.apache.org/jira/browse/ARROW-14782?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17564145#comment-17564145 ] 

Joris Van den Bossche commented on ARROW-14782:
-----------------------------------------------

> Object columns in Pandas are currently converted to Null type columns in Arrow

Small clarification: object columns in pandas are converted to null type in Arrow _only_ if they contain all missing values.

> [C++][Python] The ORC writer does not support all-null object columns from Pandas
> ---------------------------------------------------------------------------------
>
>                 Key: ARROW-14782
>                 URL: https://issues.apache.org/jira/browse/ARROW-14782
>             Project: Apache Arrow
>          Issue Type: Bug
>          Components: C++, Python
>            Reporter: Ian Alexander Joiner
>            Assignee: Ian Alexander Joiner
>            Priority: Minor
>              Labels: orc
>             Fix For: 10.0.0
>
>
> Object columns in Pandas are currently converted to Null type columns in Arrow and they can not be written using `pyarrow.orc.write_table`. Since ORC doesn't support Null type columns we need to find the appropriate DataType for such columns and do the write.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)