diff options
author | Andrey Chulkov <achulkov2@nebius.com> | 2024-10-15 14:10:17 +0300 |
---|---|---|
committer | robot-piglet <robot-piglet@yandex-team.com> | 2024-10-15 14:27:22 +0300 |
commit | 05cf1efb77e08298322326fe748b6bcdb7b6526e (patch) | |
tree | b55a13dc9277ebf98872ee1ddee93e8f24781265 /library/cpp/skiff/skiff_validator.cpp | |
parent | 2ff5baf34b9dea61580028eb4c4afde7601232a7 (diff) | |
download | ydb-05cf1efb77e08298322326fe748b6bcdb7b6526e.tar.gz |
Increase max decimal precision to 76 (decimal256)
* Changelog entry
Type: feature
Component: type system
Support for decimals with precision from 35 to 76.
This PR adds decimal256 support to YT.
Additionally:
- Decimal256 is supported in skiff as int256.
- ClickHouse decimal precisions from 35 to 76 are supported in CHYT.
---
Pull Request resolved: https://github.com/ytsaurus/ytsaurus/pull/798
Co-authored-by: ermolovd <ermolovd@yandex-team.com>
Co-authored-by: dakovalkov <dakovalkov@yandex-team.com>
commit_hash:73c4809966cf4c625e6007d31b5dde14bd80e829
Diffstat (limited to 'library/cpp/skiff/skiff_validator.cpp')
-rw-r--r-- | library/cpp/skiff/skiff_validator.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/library/cpp/skiff/skiff_validator.cpp b/library/cpp/skiff/skiff_validator.cpp index 76dd3b7600..a2e9e1db90 100644 --- a/library/cpp/skiff/skiff_validator.cpp +++ b/library/cpp/skiff/skiff_validator.cpp @@ -363,12 +363,14 @@ std::shared_ptr<IValidatorNode> CreateUsageValidatorNode(const std::shared_ptr<T case EWireType::Int32: case EWireType::Int64: case EWireType::Int128: + case EWireType::Int256: case EWireType::Uint8: case EWireType::Uint16: case EWireType::Uint32: case EWireType::Uint64: case EWireType::Uint128: + case EWireType::Uint256: case EWireType::Double: case EWireType::Boolean: |