From 0d0388e1dddbf571c5197aefdc634b9523a04ab5 Mon Sep 17 00:00:00 2001 From: Vadim Averin Date: Thu, 16 May 2024 16:56:28 +0300 Subject: [PATCH 1/2] Update functional_tables.md --- .../yql-core/syntax/_includes/select/functional_tables.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ydb/docs/ru/core/yql/reference/yql-core/syntax/_includes/select/functional_tables.md b/ydb/docs/ru/core/yql/reference/yql-core/syntax/_includes/select/functional_tables.md index ca2589589f6d..edaf6b0ca691 100644 --- a/ydb/docs/ru/core/yql/reference/yql-core/syntax/_includes/select/functional_tables.md +++ b/ydb/docs/ru/core/yql/reference/yql-core/syntax/_includes/select/functional_tables.md @@ -20,7 +20,7 @@ {% note warning "Внимание" %} -Порядок, в котором будут объединены таблицы, всеми вышеперечисленными функциями не гарантируется. +CONCAT и EACH объединяют таблицы в исходном порядке перечисления. RANGE, LIKE и FILTER - в лексикографическом порядке по именам таблиц. Список таблиц вычисляется **до** запуска самого запроса. Поэтому созданные в процессе запроса таблицы не попадут в результаты функции. @@ -111,4 +111,4 @@ SELECT * FROM FILTER( `my_folder`, $callable ); -``` \ No newline at end of file +``` From 44b89ba9f50a5b06c85829e386d750074f0cfb8c Mon Sep 17 00:00:00 2001 From: Vadim Averin Date: Thu, 16 May 2024 17:28:31 +0300 Subject: [PATCH 2/2] Update functional_tables.md --- .../yql-core/syntax/_includes/select/functional_tables.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ydb/docs/en/core/yql/reference/yql-core/syntax/_includes/select/functional_tables.md b/ydb/docs/en/core/yql/reference/yql-core/syntax/_includes/select/functional_tables.md index 33db1d9a0ecc..90810566d8fc 100644 --- a/ydb/docs/en/core/yql/reference/yql-core/syntax/_includes/select/functional_tables.md +++ b/ydb/docs/en/core/yql/reference/yql-core/syntax/_includes/select/functional_tables.md @@ -20,7 +20,7 @@ The following functions are defined for these purposes: {% note warning %} -All of the above functions don't guarantee the order of the table union. +CONCAT and EACH join the tables in the original order of enumeration; RANGE, LIKE and FILTER - in the lexicographic order of the tables' names. The list of tables is calculated **before** executing the query. Therefore, the tables created during the query execution won't be included in the function results.