Skip to main content

ARRAY_APPLY

Alias for ARRAY_TRANSFORM.

Syntax

ARRAY_APPLY( <array>, <lambda> )

Examples

SELECT ARRAY_APPLY([1, 2, 3], x -> x + 1);

┌──────────────────────────────────────┐
│ array_apply([1, 2, 3], x -> (x + 1))
├──────────────────────────────────────┤
[2,3,4]
└──────────────────────────────────────┘
Explore Databend Cloud for FREE
Low-cost
Fast Analytics
Easy Data Ingestion
Elastic Scaling
Try it today