diff options
author | ilnurkh <[email protected]> | 2023-10-09 20:25:13 +0300 |
---|---|---|
committer | ilnurkh <[email protected]> | 2023-10-09 20:46:53 +0300 |
commit | 6ef6895772bc473a21252db8a2a9f4c1b179841c (patch) | |
tree | d02a2d6e7014703f915b4042d8648196847186a6 /yt/cpp/mapreduce/interface/common.cpp | |
parent | c9bb61f5c70bf0d4194b5d6285afc1e5447130e4 (diff) |
Y_VERIFY->Y_ABORT_UNLESS at ^yt
https://clubs.at.yandex-team.ru/arcadia/29404
Diffstat (limited to 'yt/cpp/mapreduce/interface/common.cpp')
-rw-r--r-- | yt/cpp/mapreduce/interface/common.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/yt/cpp/mapreduce/interface/common.cpp b/yt/cpp/mapreduce/interface/common.cpp index 31c5990e6bb..28f98713f68 100644 --- a/yt/cpp/mapreduce/interface/common.cpp +++ b/yt/cpp/mapreduce/interface/common.cpp @@ -325,14 +325,14 @@ TColumnSchema TColumnSchema::Type(EValueType type) && TColumnSchema& TColumnSchema::Type(const NTi::TTypePtr& type) & { - Y_VERIFY(type.Get(), "Cannot create column schema with nullptr type"); + Y_ABORT_UNLESS(type.Get(), "Cannot create column schema with nullptr type"); TypeV3_ = type; return *this; } TColumnSchema TColumnSchema::Type(const NTi::TTypePtr& type) && { - Y_VERIFY(type.Get(), "Cannot create column schema with nullptr type"); + Y_ABORT_UNLESS(type.Get(), "Cannot create column schema with nullptr type"); TypeV3_ = type; return *this; } @@ -526,7 +526,7 @@ TTableSchema CreateTableSchema( TTableSchema CreateTableSchema(NTi::TTypePtr type) { - Y_VERIFY(type); + Y_ABORT_UNLESS(type); TTableSchema schema; Deserialize(schema, NodeFromYsonString(NTi::NIo::AsYtSchema(type.Get()))); return schema; |