diff options
author | alextarazanov <[email protected]> | 2022-11-01 10:43:54 +0300 |
---|---|---|
committer | alextarazanov <[email protected]> | 2022-11-01 10:43:54 +0300 |
commit | 297bbcf21769ea69237a7f4eb5c7b5d61202f583 (patch) | |
tree | 173100acc5ec313f810cdec4290d6b3fa43285d1 | |
parent | f26ac0ccc1381599b868810a19966d2b3439a99d (diff) |
[review] [YDB] Check translate about columns
3 files changed, 9 insertions, 10 deletions
diff --git a/ydb/docs/en/core/cluster/system-requirements.md b/ydb/docs/en/core/cluster/system-requirements.md index 0cf5dfdbfc8..7ee4013ec02 100644 --- a/ydb/docs/en/core/cluster/system-requirements.md +++ b/ydb/docs/en/core/cluster/system-requirements.md @@ -30,6 +30,6 @@ The number of servers and disks is determined by the fault-tolerance requirement ## Software configuration {#software} -A {{ ydb-short-name }} server can run on servers with Linux kernel 4.4 or higher and libc 2.30 (Ubuntu 20.04, Debian 11, Fedora34). +A {{ ydb-short-name }} server can be run on servers running a Linux operating system with kernel 4.19 and higher and libc 2.30 (Ubuntu 20.04, Debian 11, Fedora34). MacOS and Windows operating systems are currently not supported. diff --git a/ydb/docs/en/core/yql/reference/yql-core/types/_includes/containers.md b/ydb/docs/en/core/yql/reference/yql-core/types/_includes/containers.md index c350fa9f07a..837bf87b895 100644 --- a/ydb/docs/en/core/yql/reference/yql-core/types/_includes/containers.md +++ b/ydb/docs/en/core/yql/reference/yql-core/types/_includes/containers.md @@ -1,8 +1,8 @@ # Containers -YQL supports containers as a way to define a complex data structure organized in a certain way. -Values of container types can be passed to YQL queries as input parameters, or returned from YQL queries as output result set columns. -Container types cannot be used as the types of columns in {{ ydb-short-name }} tables. +YQL supports container types to define complex data structures organized in various ways. +Values of container types can be passed to YQL queries as input parameters or returned from YQL queries as columns of the set of results. +Container types can't be used as column data types for {{ ydb-short-name }} tables. | Type | Declaration,</br>example | Description | | ------------ | ---------------- | ------------- | @@ -16,13 +16,12 @@ Container types cannot be used as the types of columns in {{ ydb-short-name }} t | Variant on structure | `Variant<Name1:Type1, Name2:Type2>`,</br>`Variant<value:Int32,error:String>` | A structure known to have exactly one element filled | | Enumeration | `Enum<Name1, Name2>`,</br>`Enum<value,error>` | A container with exactly one enumeration element selected and defined only by its name. | -If needed, you can nest containers into each other in arbitrary combinations, for example: `List<TupleInt32,Int32>`. +If necessary, you can nest containers in any combination, for example, `List<Tuple<Int32,Int32>>`. -[In certain contexts, optional values](../optional.md) can also be considered a container type (`Optional<Type>`) that behaves as a list of length 0 or 1. +In certain contexts, [optional values](../optional.md) can also be considered a container type (`Optional<Type>`) that behaves like a list of length 0 or 1. To create literals of list containers, dictionary containers, set containers, tuple containers, or structure containers, you can use the [operator notation](../../builtins/basic.md#containerliteral). To create a variant literal over a tuple or structure, use the function [Variant](../../builtins/basic.md#variant). To create an enumeration literal, use the function [Enum](../../builtins/basic.md#enum). -To access container elements, use a [dot or square brackets](../../syntax/expressions.md#items-access), depending on the container type. - +To access the container elements, use a [dot or square brackets](../../syntax/expressions.md#items-access), depending on the container type. diff --git a/ydb/docs/en/core/yql/reference/yql-core/types/_includes/optional.md b/ydb/docs/en/core/yql/reference/yql-core/types/_includes/optional.md index 713798ee50b..67e95894d64 100644 --- a/ydb/docs/en/core/yql/reference/yql-core/types/_includes/optional.md +++ b/ydb/docs/en/core/yql/reference/yql-core/types/_includes/optional.md @@ -15,8 +15,8 @@ The following operations are most often performed on optional data types: {% note info %} -Currently container types (including the `Optional<T>` containers and more complex types based on them) cannot be used as the types of columns in {{ ydb-short-name }} tables. -YQL queries may return the values of container types, and can take them as input parameters. +Container types (including `Optional<T>` containers and more complex types derived from them) can't currently be used as column data types when creating {{ ydb-short-name }} tables. +YQL queries can return values of container types and accept them as input parameters. {% endnote %} |