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

[jira] [Commented] (ARROW-1587) [Format] Add metadata for user-defined logical types

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

Wes McKinney commented on ARROW-1587:
-------------------------------------

I'm going to start by creating an implementation for ARROW-585 that uses {{custom_metadata}} then we can discuss whether we need a top-level Type addition

> [Format] Add metadata for user-defined logical types
> ----------------------------------------------------
>
>                 Key: ARROW-1587
>                 URL: https://issues.apache.org/jira/browse/ARROW-1587
>             Project: Apache Arrow
>          Issue Type: Improvement
>          Components: Format
>            Reporter: Wes McKinney
>            Priority: Major
>             Fix For: 0.13.0
>
>
> While we have the custom_metadata field at the Field level, it may be useful to have a proper user-defined type metadata in the `Type` union, which would allow us to provide a physical representation type (e.g. "Latitude longitude is represented by a struct, whose children consist of two doubles") from the other non-user defined types.
> This is more flexible than {{custom_metadata}} because we can leverage existing structure in the Flatbuffers for describing the user type
> https://github.com/apache/arrow/blob/master/format/Schema.fbs#L285



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)