Skip to content

Add support for the null type #225

Open

Description

@singhpratech

Describe the enhancement requested

ArrowTypeId has a null case, but the null type cannot be used: there is no array or builder for it, and ArrowReader fails on any schema that contains a null column with unknownType("Unsupported field type found: null").

Other implementations produce null columns routinely, for example pyarrow infers the null type for a column whose values are all None, so such files and streams cannot currently be read.

Proposed scope:

  • ArrowType.ArrowNull, with the C data interface format string n
  • NullArray and NullArrayBuilder (no buffers; length only)
  • reading and writing null columns in the IPC file and streaming formats
  • importing and exporting null arrays through the C data interface

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions