Joris Van den Bossche created ARROW-6507:
--------------------------------------------
Summary: [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
>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)