aboutsummaryrefslogtreecommitdiffstats
path: root/yt/cpp
diff options
context:
space:
mode:
authororlovorlov <orlovorlov@yandex-team.com>2024-07-03 11:03:41 +0300
committerorlovorlov <orlovorlov@yandex-team.com>2024-07-03 11:17:34 +0300
commit48af1e03b770853030064bd2dbfaaffd9e4040c1 (patch)
tree53f65f512e0cf9eaf3e888198a99cb2744b14c14 /yt/cpp
parent9cc62c248901994135fcba56bcaa6e5fb3ec609c (diff)
downloadydb-48af1e03b770853030064bd2dbfaaffd9e4040c1.tar.gz
Revert "YT-21253 Include HyperLogLog in YT table columnar statistics"
This reverts commit b5399faf1a9757b07a2d2ee25bd16b8a27be7939, reversing changes made to d7e3e35dd1a856c587d7a9eb2e0dd180d3cf39ed. 82c6dea5d3958fc85ee39e7bcc23c6ec24d6aee9
Diffstat (limited to 'yt/cpp')
-rw-r--r--yt/cpp/mapreduce/interface/common.h3
-rw-r--r--yt/cpp/mapreduce/interface/serialize.cpp1
2 files changed, 0 insertions, 4 deletions
diff --git a/yt/cpp/mapreduce/interface/common.h b/yt/cpp/mapreduce/interface/common.h
index 10988225dd..49e01bad55 100644
--- a/yt/cpp/mapreduce/interface/common.h
+++ b/yt/cpp/mapreduce/interface/common.h
@@ -1193,9 +1193,6 @@ struct TTableColumnarStatistics
/// Total data weight for all chunks for each of requested columns.
THashMap<TString, i64> ColumnDataWeight;
- /// Estimated number of unique elements for each column.
- THashMap<TString, ui64> ColumnEstimatedUniqueCounts;
-
/// Total weight of all old chunks that don't keep columnar statistics.
i64 LegacyChunksDataWeight = 0;
diff --git a/yt/cpp/mapreduce/interface/serialize.cpp b/yt/cpp/mapreduce/interface/serialize.cpp
index b195bf04d6..9be114b45e 100644
--- a/yt/cpp/mapreduce/interface/serialize.cpp
+++ b/yt/cpp/mapreduce/interface/serialize.cpp
@@ -509,7 +509,6 @@ void Deserialize(TTableColumnarStatistics& statistics, const TNode& node)
{
const auto& nodeMap = node.AsMap();
DESERIALIZE_ITEM("column_data_weights", statistics.ColumnDataWeight);
- DESERIALIZE_ITEM("column_estimated_unique_counts", statistics.ColumnEstimatedUniqueCounts);
DESERIALIZE_ITEM("legacy_chunks_data_weight", statistics.LegacyChunksDataWeight);
DESERIALIZE_ITEM("timestamp_total_weight", statistics.TimestampTotalWeight);
}