summaryrefslogtreecommitdiffstats
path: root/yt/cpp/mapreduce/interface/common.cpp
diff options
context:
space:
mode:
authors-berdnikov <[email protected]>2026-02-18 18:39:56 +0300
committers-berdnikov <[email protected]>2026-02-18 19:36:18 +0300
commit64d130d1514e8c12e827c5b2ed726dc88ac90ca8 (patch)
treee14651060e72e0481b186cc20c953622e329b7b1 /yt/cpp/mapreduce/interface/common.cpp
parent80feb38637cfcd598a0d734105f1ffb10dc124a2 (diff)
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
Diffstat (limited to 'yt/cpp/mapreduce/interface/common.cpp')
-rw-r--r--yt/cpp/mapreduce/interface/common.cpp7
1 files changed, 7 insertions, 0 deletions
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();