Skip to content

Implement native function of map_from_entries #2153

@weimingdiit

Description

@weimingdiit

Describe
map_from_entries(arrayOfEntries) 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_entries(arrayOfEntries) through the extension-function path.

The implementation should keep Spark semantics aligned:

  • create a map from the given array of entries
  • preserve Spark-compatible behavior for entry arrays of key/value structs
  • handle nulls and invalid inputs consistently with Spark
  • 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