Skip to content

Add Extension Registry #342

@tokoko

Description

@tokoko

I'm thinking of building an Extension Registry in rust similar to the one in substrait-python. The registry will have three primary roles:

  1. It will generate and hand out unique anchor numbers.
  2. It will check that the intended signature of the function call is covered by an impl in the extensions.
  3. If a suitable impl is found, it will infer a return type for the function call.

The biggest challenge in rewriting the code in rust is that the python registry depends on antlr to handle return type inference. Since there's no antlr rust target available, we will either have to forgo return type inference altogether or just for those cases where complicated inference logic is required (such as this).

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