From 64d130d1514e8c12e827c5b2ed726dc88ac90ca8 Mon Sep 17 00:00:00 2001 From: s-berdnikov Date: Wed, 18 Feb 2026 18:39:56 +0300 Subject: YT-21148 Serialize deleted columns according to new design * Changelog entry Type: fix Component: master Deleted columns are now stored in table schema attributes instead of being represented as regular columns with `deleted` field. commit_hash:bbcf72019585ce99df10ce93efe3995111f50f58 --- yt/cpp/mapreduce/interface/common.cpp | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'yt/cpp/mapreduce/interface/common.cpp') diff --git a/yt/cpp/mapreduce/interface/common.cpp b/yt/cpp/mapreduce/interface/common.cpp index cea5a6a83fc..fdb3e66b191 100644 --- a/yt/cpp/mapreduce/interface/common.cpp +++ b/yt/cpp/mapreduce/interface/common.cpp @@ -449,6 +449,13 @@ bool operator==(const TColumnSchema& lhs, const TColumnSchema& rhs) //////////////////////////////////////////////////////////////////////////////// +bool operator==(const TDeletedColumnSchema& lhs, const TDeletedColumnSchema& rhs) +{ + return lhs.StableName() == rhs.StableName(); +} + +//////////////////////////////////////////////////////////////////////////////// + bool TTableSchema::Empty() const { return Columns_.empty(); -- cgit v1.3