diff options
| author | robot-piglet <[email protected]> | 2024-08-30 15:30:10 +0300 |
|---|---|---|
| committer | robot-piglet <[email protected]> | 2024-08-30 17:37:48 +0300 |
| commit | 29e274a4ea4120f32e989dd3566b51362df6f7de (patch) | |
| tree | 7a909dd0275140add197444c9065e2c45e16c775 /yt/cpp/mapreduce/interface/common.cpp | |
| parent | 9b34e4f5ca33d29cd33ff5c496601b956d09cd16 (diff) | |
Intermediate changes
Diffstat (limited to 'yt/cpp/mapreduce/interface/common.cpp')
| -rw-r--r-- | yt/cpp/mapreduce/interface/common.cpp | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/yt/cpp/mapreduce/interface/common.cpp b/yt/cpp/mapreduce/interface/common.cpp index 0a46c0b583a..831762fa953 100644 --- a/yt/cpp/mapreduce/interface/common.cpp +++ b/yt/cpp/mapreduce/interface/common.cpp @@ -201,6 +201,9 @@ static NTi::TTypePtr OldTypeToTypeV3(EValueType type) return NTi::Timestamp64(); case VT_INTERVAL64: return NTi::Interval64(); + + case VT_UUID: + return NTi::Uuid(); } } @@ -259,7 +262,7 @@ static std::pair<EValueType, bool> Simplify(const NTi::TTypePtr& type) case ETypeName::Decimal: return {VT_STRING, true}; case ETypeName::Uuid: - break; + return {VT_UUID, true}; case ETypeName::Yson: return {VT_ANY, true}; @@ -660,6 +663,9 @@ TString ToString(EValueType type) return "timestamp64"; case VT_INTERVAL64: return "interval64"; + + case VT_UUID: + return "uuid"; } ythrow yexception() << "Invalid value type " << static_cast<int>(type); } |
