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

[jira] [Commented] (ARROW-6507) [C++] Add ExtensionArray::ExtensionValidate for custom validation?

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

Antoine Pitrou commented on ARROW-6507:
---------------------------------------

+1, good idea.

> [C++] Add ExtensionArray::ExtensionValidate for custom validation?
> ------------------------------------------------------------------
>
>                 Key: ARROW-6507
>                 URL: https://issues.apache.org/jira/browse/ARROW-6507
>             Project: Apache Arrow
>          Issue Type: Improvement
>          Components: C++
>            Reporter: Joris Van den Bossche
>            Priority: Major
>
> From discussing ARROW-6506, [~bkietz] said: an extension type might place more constraints on an array than those implicit in its storage type, and users will probably expect to be able to plug those into {{Validate}}.
> So we could have a {{ExtensionArray::ExtensionValidate}} that the visitor for {{ExtensionArray}} can call, similarly like there is also an {{ExtensionType::ExtensionEquals}} that the visitor calls when extension types are checked for equality.



--
This message was sent by Atlassian Jira
(v8.3.2#803003)