Skip to content

Implement native function of map_from_arrays #2152

@weimingdiit

Description

@weimingdiit

Describe
map_from_arrays(keys, values) is not supported in Auron’s native execution path, so queries using it fall back instead of being executed natively.

Describe the solution you'd like
Add native support for Spark map_from_arrays(keys, values) through the extension-function path.

The implementation should keep Spark semantics aligned:

  • create a map from the given key/value arrays
  • require all elements in keys to be non-null
  • preserve Spark-compatible null propagation and type behavior
  • add regression tests to verify semantic consistency with Spark

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