You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@arrow.apache.org by "Antoine Pitrou (Jira)" <ji...@apache.org> on 2019/09/18 11:09:00 UTC

[jira] [Updated] (ARROW-6187) [C++] fallback to storage type when writing ExtensionType to Parquet

     [ https://issues.apache.org/jira/browse/ARROW-6187?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Antoine Pitrou updated ARROW-6187:
----------------------------------
    Fix Version/s: 1.0.0

> [C++] fallback to storage type when writing ExtensionType to Parquet
> --------------------------------------------------------------------
>
>                 Key: ARROW-6187
>                 URL: https://issues.apache.org/jira/browse/ARROW-6187
>             Project: Apache Arrow
>          Issue Type: Improvement
>          Components: C++
>            Reporter: Joris Van den Bossche
>            Priority: Major
>              Labels: parquet
>             Fix For: 1.0.0
>
>
> Writing a table that contains an ExtensionType array to a parquet file is not yet implemented. It currently raises "ArrowNotImplementedError: Unhandled type for Arrow to Parquet schema conversion: extension<arrow.py_extension_type>" (for a PyExtensionType in this case).
> I think minimal support can consist of writing the storage type / array. 
> We also might want to save the extension name and metadata in the parquet FileMetadata. 
> Later on, this could be potentially be used to restore the extension type when reading. This is related to other issues that need to save the arrow schema (categorical: ARROW-5480, time zones: ARROW-5888). Only in this case, we probably want to store the serialised type in addition to the schema (which only has the extension type's name). 



--
This message was sent by Atlassian Jira
(v8.3.4#803005)