Skip to content

Logical expression ScalarVariable cannot represent an extension type or metadata #18230

@paleolimbot

Description

@paleolimbot

Is your feature request related to a problem or challenge?

The ScalarVariable is represented in terms of DataType, and thus plans can't

/// A named reference to a variable in a registry.
ScalarVariable(DataType, Vec<String>),

While we are here, it would probably be a good idea to allow the nullability to be represented here as well as most other logical expression members can store this, too.

Describe the solution you'd like

Perhaps the DataType could be updated to a FieldRef or FieldMetdata could be added

Describe alternatives you've considered

No response

Additional context

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions