Skip to content

udf fn passed as arg to udf op #73

@chrismo

Description

@chrismo

I thought this was a cool example found in the superdb sources:

https://github.com/brimdata/super/blob/6f6ff281d8a49682513620d769d94df95217f731/compiler/semantic/ztests/func-arg-to-op.yaml

spq: |
  fn g(x) : (x+1)
  op foo f: (values f(123))
  foo g

output: |
  124

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions