Get started
Load & manage data
Work with data
Administration
Reference & resources
CLUSTER BY
mask
ROW FILTER
更新しました 2024/10/04
Send us feedback
flatten
Applies to: Databricks SQL Databricks Runtime
Transforms an array of arrays into a single array.
flatten(expr)
expr: An ARRAY of ARRAY expression.
expr
The result matches the type of the nested arrays within expr.
> SELECT flatten(array(array(1, 2), array(3, 4))); [1,2,3,4]