aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorxyliganSereja <matva0509@gmail.com>2025-07-26 11:53:09 +0300
committerGitHub <noreply@github.com>2025-07-26 11:53:09 +0300
commit2dbd68b37a085fd6ad220e2a4a8e1450ac68ea12 (patch)
tree23d6e25e93dc5ee73267997428258648958bb7c6
parentc641bf9f3666236b4c2e81273c2c5563c54e4df4 (diff)
downloadydb-2dbd68b37a085fd6ad220e2a4a8e1450ac68ea12.tar.gz
update docs (#21415)
Co-authored-by: Matveev Sergei <xyligansereja@yandex-team.ru>
-rw-r--r--ydb/docs/en/core/concepts/column-table.md2
-rw-r--r--ydb/docs/en/core/yql/reference/types/primitive.md2
-rw-r--r--ydb/docs/ru/core/_includes/olap-data-types.md2
-rw-r--r--ydb/docs/ru/core/yql/reference/types/primitive.md1
4 files changed, 4 insertions, 3 deletions
diff --git a/ydb/docs/en/core/concepts/column-table.md b/ydb/docs/en/core/concepts/column-table.md
index 43198502c55..2697b0e7eff 100644
--- a/ydb/docs/en/core/concepts/column-table.md
+++ b/ydb/docs/en/core/concepts/column-table.md
@@ -38,7 +38,7 @@ What's currently not supported:
| `Bool` | ☓ | ☓ |
| `Date` | ✓ | ✓ |
| `Datetime` | ✓ | ✓ |
-| `Decimal` | ☓ | ☓ |
+| `Decimal` | ✓ | ☓ |
| `Double` | ✓ | ☓ |
| `Float` | ✓ | ☓ |
| `Int16` | ✓ | ☓ |
diff --git a/ydb/docs/en/core/yql/reference/types/primitive.md b/ydb/docs/en/core/yql/reference/types/primitive.md
index d3fae9bca3f..47c25304f74 100644
--- a/ydb/docs/en/core/yql/reference/types/primitive.md
+++ b/ydb/docs/en/core/yql/reference/types/primitive.md
@@ -19,7 +19,7 @@ The terms "simple", "primitive", and "elementary" data types are used synonymous
| `Uint64` | An unsigned integer.<br/>Acceptable values: from 0 to 2<sup>64</sup>–1. | — |
| `Float` | A real number with variable precision, 4 bytes in size. | {% if feature_map_tables %}Can't be used in the primary key{% endif %} |
| `Double` | A real number with variable precision, 8 bytes in size. | {% if feature_map_tables %}Can't be used in the primary key{% endif %} |
-| `Decimal(precision, scale)` | A real number with the specified precision, 16 bytes in size. Precision is the maximum total number of decimal digits stored and can range from 1 to 35. Scale is the maximum number of decimal digits stored to the right of the decimal point and can range from 0 to the precision value. | — |
+| `Decimal(precision, scale)` | A real number with the specified precision, 16 bytes in size. Precision is the maximum total number of decimal digits stored and can range from 1 to 35. Scale is the maximum number of decimal digits stored to the right of the decimal point and can range from 0 to the precision value. | {% if feature_map_tables %}Can't be used in the primary key{% endif %} |
{% if feature_map_tables %}
|`DyNumber` | A binary representation of a real number with an accuracy of up to 38 digits.<br/>Acceptable values: positive numbers from 1×10<sup>-130</sup> up to 1×10<sup>126</sup>–1, negative numbers from -1×10<sup>126</sup>–1 to -1×10<sup>-130</sup>, and 0.<br/>Compatible with the `Number` type in AWS DynamoDB. It's not recommended for {{ backend_name_lower }}-native applications. | — |
{% endif %}
diff --git a/ydb/docs/ru/core/_includes/olap-data-types.md b/ydb/docs/ru/core/_includes/olap-data-types.md
index ef96e8057af..a3d27c8b4e3 100644
--- a/ydb/docs/ru/core/_includes/olap-data-types.md
+++ b/ydb/docs/ru/core/_includes/olap-data-types.md
@@ -11,7 +11,7 @@
`Uint64` | ✓ | ✓
`Float` | ✓ | ☓
`Double` | ✓ | ☓
-`Decimal` | ☓ | ☓
+`Decimal` | ✓ | ☓
`String` | ✓ | ✓
`Utf8` | ✓ | ✓
`Json` | ✓ | ☓
diff --git a/ydb/docs/ru/core/yql/reference/types/primitive.md b/ydb/docs/ru/core/yql/reference/types/primitive.md
index 9adad9505ab..04ea0aab32d 100644
--- a/ydb/docs/ru/core/yql/reference/types/primitive.md
+++ b/ydb/docs/ru/core/yql/reference/types/primitive.md
@@ -56,6 +56,7 @@
||
|| `Decimal(precision, scale)` |
Вещественное число с фиксированной точностью размером 16 байт. Точность (precision) — максимальное общее число хранимых десятичных разрядов, принимает значения от 1 до 35. Масштаб (scale) — максимальное число хранимых десятичных разрядов справа от десятичной запятой, принимает значения от 0 до значения precision. |
+{% if feature_map_tables %}Не может быть использован в первичном ключе{% endif %}
||
{% if feature_map_tables %}
|| `DyNumber` |