Skip to content

[elixir] Add support for complex types - array, map & row #642

Description

@nicolazar

Search before asking

  • I searched in the issues and found nothing similar.

Description

The Elixir binding's data-type representation is flat (scalars + decimal/char/binary), with no support for nested Array / Map / Row types. Core already supports them (recursive DataType, nested row format; Python added this in #601).

Two layers to cover:

  • Schema representation: add recursive variants to the Nif DataType enum and nest the Elixir type ({:array, dt}, {:map, k, v}, {:row, [{name, dt}]}); make to_fluss_type/from_fluss_type recursive.
  • Data plane: extend the row converters (field_to_term/set_field_from_term)
    to read/write nested values.

Willingness to contribute

  • I'm willing to submit a PR!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No fields configured for Task.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions