substrait-extensions 0.102.0

Packaged Substrait Extension Files
Documentation
%YAML 1.2
---
urn: extension:org.example:lambda_functions
scalar_functions:
- name: "transform"
  description: >-
    Transforms each element of a list using a lambda function.
    Also known as "map" in functional programming.

    Returns a new list where each element is the result of applying
    the transformer function to the corresponding element in the input list.

    The lambda receives one parameter (the current element) and must return
    the transformed value.
  impls:
    - args:
        - name: input
          value: list<any1>
        - name: transformer
          value: func<any1 -> any2>
      nullability: MIRROR
      return: list<any2>