Uploaded image for project: 'Apache Arrow'
  1. Apache Arrow
  2. ARROW-6507

[C++] Add ExtensionType::ValidateArray for custom validation?

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • None
    • C++
    • None

    Description

      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 ExtensionType::ValidateArray (resp. ValidateArrayFull) 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.

      Attachments

        Activity

          People

            Unassigned Unassigned
            jorisvandenbossche Joris Van den Bossche
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated: