aboutsummaryrefslogtreecommitdiffstats
path: root/yt/cpp/mapreduce/interface/serialize.cpp
diff options
context:
space:
mode:
authorilnurkh <ilnurkh@yandex-team.com>2023-10-09 20:25:13 +0300
committerilnurkh <ilnurkh@yandex-team.com>2023-10-09 20:46:53 +0300
commit6ef6895772bc473a21252db8a2a9f4c1b179841c (patch)
treed02a2d6e7014703f915b4042d8648196847186a6 /yt/cpp/mapreduce/interface/serialize.cpp
parentc9bb61f5c70bf0d4194b5d6285afc1e5447130e4 (diff)
downloadydb-6ef6895772bc473a21252db8a2a9f4c1b179841c.tar.gz
Y_VERIFY->Y_ABORT_UNLESS at ^yt
https://clubs.at.yandex-team.ru/arcadia/29404
Diffstat (limited to 'yt/cpp/mapreduce/interface/serialize.cpp')
-rw-r--r--yt/cpp/mapreduce/interface/serialize.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/yt/cpp/mapreduce/interface/serialize.cpp b/yt/cpp/mapreduce/interface/serialize.cpp
index ae05d9f50d..8557985069 100644
--- a/yt/cpp/mapreduce/interface/serialize.cpp
+++ b/yt/cpp/mapreduce/interface/serialize.cpp
@@ -196,7 +196,7 @@ void Serialize(const TColumnSchema& columnSchema, NYson::IYsonConsumer* consumer
if (typeV3.IsString()) {
result = typeV3.AsString();
} else if (typeV3.IsMap() && typeV3.Size() == 1) {
- Y_VERIFY(typeV3["type_name"].IsString(), "invalid type is passed");
+ Y_ABORT_UNLESS(typeV3["type_name"].IsString(), "invalid type is passed");
result = typeV3["type_name"].AsString();
}
if (result) {