summaryrefslogtreecommitdiffstats
path: root/yql/essentials/docs/en/syntax
diff options
context:
space:
mode:
authorlambda-delta <[email protected]>2025-08-26 12:24:51 +0300
committerlambda-delta <[email protected]>2025-08-26 13:26:21 +0300
commit5302ae7ceeccd12004b7b30551baa7fb960d8f0e (patch)
tree1e087a264df9c83f9668ea70f3fcf8c72a41c941 /yql/essentials/docs/en/syntax
parent285d3d7ff9007f76a37f83df4d04a15b11d0c4fc (diff)
YQL-20253: Support `FLATTEN [OPTIONAL] BY` for any data type
Support `FLATTEN [OPTIONAL] BY` for any data type commit_hash:6fb221fadf29d1dcc7ea4590a21c115fc506aa51
Diffstat (limited to 'yql/essentials/docs/en/syntax')
-rw-r--r--yql/essentials/docs/en/syntax/flatten.md2
1 files changed, 2 insertions, 0 deletions
diff --git a/yql/essentials/docs/en/syntax/flatten.md b/yql/essentials/docs/en/syntax/flatten.md
index 0dd81ceed4c..163f0e55273 100644
--- a/yql/essentials/docs/en/syntax/flatten.md
+++ b/yql/essentials/docs/en/syntax/flatten.md
@@ -82,6 +82,8 @@ To specify the type of container to convert to, you can use:
* `FLATTEN OPTIONAL BY`
To filter the `NULL` values without serialization, specify the operation by using `FLATTEN OPTIONAL BY`.
+
+ Since YQL [2025.03](../changelog/2025.03.md), this expression also accepts any non-Optional type (in particular, application on the `NullType` returns `EmptyList`, Postgres types are filtered by non-`NULL`, and other data types are mapped as is).
#### Examples