aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVitaly Isaev <vitalyisaev@ydb.tech>2024-11-26 11:09:07 +0300
committerGitHub <noreply@github.com>2024-11-26 11:09:07 +0300
commit2508c960a214844fcfd914ab167e549c1cb55b14 (patch)
treec4c9d5ec46853f7ff452809195c846e59e9e685b
parent60360dec25fac6411e820c2b284a4d41747c12fb (diff)
downloadydb-2508c960a214844fcfd914ab167e549c1cb55b14.tar.gz
YDB FQ: docs for JsonDocument data type support when reading from external YDB (#11946)
-rw-r--r--ydb/docs/en/core/concepts/federated_query/ydb.md43
-rw-r--r--ydb/docs/ru/core/concepts/federated_query/ydb.md43
2 files changed, 44 insertions, 42 deletions
diff --git a/ydb/docs/en/core/concepts/federated_query/ydb.md b/ydb/docs/en/core/concepts/federated_query/ydb.md
index 336cbca962..00065d6d5d 100644
--- a/ydb/docs/en/core/concepts/federated_query/ydb.md
+++ b/ydb/docs/en/core/concepts/federated_query/ydb.md
@@ -71,24 +71,25 @@ There are several limitations when working with external {{ ydb-short-name }} da
## Supported data types
-When working with tables located in the external {{ ydb-short-name }} database, users have access to a limited set of data types. All other types, except for those listed below, are not supported. Type conversion is not performed, meaning that the columns of the table from the external {{ ydb-short-name }} database retain their type after being read by the {{ ydb-short-name }} database processing the federated query.
-
-|{{ ydb-short-name }} Data Type|
-|----|
-|`Bool`|
-|`Int8`|
-|`Int16`|
-|`Int32`|
-|`Int64`|
-|`Uint8`|
-|`Uint16`|
-|`Uint32`|
-|`Uint64`|
-|`Float`|
-|`Double`|
-|`String`|
-|`Utf8`|
-|`Date`|
-|`Datetime`|
-|`Timestamp`|
-|`Json`| \ No newline at end of file
+When working with tables located in the external {{ ydb-short-name }} database, users have access to a limited set of data types. All other types, except for those listed below, are not supported. In some cases the type conversion is performed, meaning that the columns of the table from the external {{ ydb-short-name }} database may change their type after being read by the {{ ydb-short-name }} database processing the federated query.
+
+|External {{ ydb-short-name }} data type|Federated {{ ydb-short-name }} data type|
+|---------|---------|
+|`Bool`|`Bool`|
+|`Int8`|`Int8`|
+|`Int16`|`Int16`|
+|`Int32`|`Int32`|
+|`Int64`|`Int64`|
+|`Uint8`|`Uint8`|
+|`Uint16`|`Uint16`|
+|`Uint32`|`Uint32`|
+|`Uint64`|`Uint64`|
+|`Float`|`Float`|
+|`Double`|`Double`|
+|`String`|`String`|
+|`Utf8`|`Utf8`|
+|`Date`|`Date`|
+|`Datetime`|`Datetime`|
+|`Timestamp`|`Timestamp`|
+|`Json`|`Json`|
+|`JsonDocument`|`Json`| \ No newline at end of file
diff --git a/ydb/docs/ru/core/concepts/federated_query/ydb.md b/ydb/docs/ru/core/concepts/federated_query/ydb.md
index 901916e1d9..a75c059ceb 100644
--- a/ydb/docs/ru/core/concepts/federated_query/ydb.md
+++ b/ydb/docs/ru/core/concepts/federated_query/ydb.md
@@ -72,24 +72,25 @@ SELECT * FROM ydb_datasource.<table_name>
## Поддерживаемые типы данных
-При работе с таблицами, размещёнными во внешней базе {{ ydb-short-name }}, пользователям доступен ограниченный набор типов данных. Все остальные типы, за исключением перечисленных ниже, не поддерживаются. Преобразование типов не производится, то есть колонки таблицы из внешней базы {{ ydb-short-name }} сохраняют свой тип после вычитывания этой таблицы базой {{ ydb-short-name }}, обрабатывающей федеративный запрос.
-
-|Тип данных {{ ydb-short-name }}|
-|----|
-|`Bool`|
-|`Int8`|
-|`Int16`|
-|`Int32`|
-|`Int64`|
-|`Uint8`|
-|`Uint16`|
-|`Uint32`|
-|`Uint64`|
-|`Float`|
-|`Double`|
-|`String`|
-|`Utf8`|
-|`Date`|
-|`Datetime`|
-|`Timestamp`|
-|`Json`|
+При работе с таблицами, размещёнными во внешней базе {{ ydb-short-name }}, пользователям доступен ограниченный набор типов данных. Все остальные типы, за исключением перечисленных ниже, не поддерживаются. В некоторых случаях производится преобразование типов, то есть колонки таблицы из внешней базы {{ ydb-short-name }} меняют свой тип после вычитывания этой таблицы базой {{ ydb-short-name }}, обрабатывающей федеративный запрос.
+
+|Тип данных внешнего источника {{ ydb-short-name }}|Тип данных в федеративной {{ ydb-short-name }}|
+|---------|---------|
+|`Bool`|`Bool`|
+|`Int8`|`Int8`|
+|`Int16`|`Int16`|
+|`Int32`|`Int32`|
+|`Int64`|`Int64`|
+|`Uint8`|`Uint8`|
+|`Uint16`|`Uint16`|
+|`Uint32`|`Uint32`|
+|`Uint64`|`Uint64`|
+|`Float`|`Float`|
+|`Double`|`Double`|
+|`String`|`String`|
+|`Utf8`|`Utf8`|
+|`Date`|`Date`|
+|`Datetime`|`Datetime`|
+|`Timestamp`|`Timestamp`|
+|`Json`|`Json`|
+|`JsonDocument`|`Json`| \ No newline at end of file