Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions ydb/docs/en/core/yql/reference/builtins/codegen.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Functions for code generation

When running calculations, you can generate the code including [S-expressions](/docs/s_expressions) nodes. This uses a mechanism for packing the code in the [resource](../types/special.md). After building the code, you can insert it into the main program using the [EvaluateCode](#evaluatecode) function. For debugging purposes, you can convert the code to a string using the [FormatCode](#formatcode) function.
When running calculations, you can generate the code including S-expressions nodes. This uses a mechanism for packing the code in the [resource](../types/special.md). After building the code, you can insert it into the main program using the [EvaluateCode](#evaluatecode) function. For debugging purposes, you can convert the code to a string using the [FormatCode](#formatcode) function.

Possible node types in S-expressions that can be used for code generation:

Expand All @@ -24,7 +24,7 @@ In the text representation, S-expressions have the following format:

## FormatCode

Serializing the code as [S-expressions](/docs/s_expressions). The code must not contain free arguments of functions, hence, to serialize the lambda function code, you must pass it completely, avoiding passing individual expressions that might contain lambda function arguments.
Serializing the code as S-expressions. The code must not contain free arguments of functions, hence, to serialize the lambda function code, you must pass it completely, avoiding passing individual expressions that might contain lambda function arguments.

### Examples

Expand Down
2 changes: 1 addition & 1 deletion ydb/docs/presets.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ default:
feature_resource_pool_classifier: true
feature_view: true
feature_async_replication: true
feature_batch_operations: false
feature_batch_operations: true
ydb: YDB
ydb-name: YDB
ydb-full-name: YDB
Expand Down
4 changes: 2 additions & 2 deletions ydb/docs/ru/core/yql/reference/builtins/codegen.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@

# Функции для работы с генерацией кода

Во время выполнения вычислений можно сгенерировать код, состоящий из узлов [S-expressions](/docs/s_expressions). Для этого используется механизм представления кода, упакованного в [ресурс](../types/special.md). После конструирования кода можно подставить его в основную програму с помощью функции [EvaluateCode](#evaluatecode). Для отладки сконвертировать код в строку можно с помощью функции [FormatCode](#formatcode).
Во время выполнения вычислений можно сгенерировать код, состоящий из узлов S-expressions. Для этого используется механизм представления кода, упакованного в [ресурс](../types/special.md). После конструирования кода можно подставить его в основную програму с помощью функции [EvaluateCode](#evaluatecode). Для отладки сконвертировать код в строку можно с помощью функции [FormatCode](#formatcode).

Возможные типы узлов в S-expressions, которые можно использовать для генерации кода:

Expand All @@ -25,7 +25,7 @@

## FormatCode

Сериализация кода в виде [S-expressions](/docs/s_expressions). Код не должен содержать свободных аргументов функций, т.е. для сериализации кода лямбда функции нужно передавать ее целиком, а не выражения, потенциально содержащие аргументы лямбда функции.
Сериализация кода в виде S-expressions. Код не должен содержать свободных аргументов функций, т.е. для сериализации кода лямбда функции нужно передавать ее целиком, а не выражения, потенциально содержащие аргументы лямбда функции.

### Примеры

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ WITH ( <parameter_name> [= <parameter_value>] [, ... ] )

## Разрешения

Требуется [разрешение](../yql/reference/syntax/grant#permissions-list) `ALL` на базу данных
Требуется [разрешение](./grant#permissions-list) `ALL` на базу данных

Пример выдачи такого разрешения:

Expand Down