From 6fe266bc09bd9dbc60f80f127edc9e85ea5bbdfe Mon Sep 17 00:00:00 2001 From: Amos Bird Date: Mon, 20 May 2024 17:45:41 +0800 Subject: [PATCH] Fix build --- src/Columns/ColumnTuple.cpp | 27 --------------------------- 1 file changed, 27 deletions(-) diff --git a/src/Columns/ColumnTuple.cpp b/src/Columns/ColumnTuple.cpp index 4aba17d615a..a7da7fc0520 100644 --- a/src/Columns/ColumnTuple.cpp +++ b/src/Columns/ColumnTuple.cpp @@ -13,9 +13,6 @@ #include #include #include -#include -#include -#include #include @@ -735,30 +732,6 @@ ColumnPtr ColumnTuple::compress() const }); } -double ColumnTuple::getRatioOfDefaultRows(double sample_ratio) const -{ - if (columns.empty()) - return 1.0; - - return getRatioOfDefaultRowsImpl(sample_ratio); -} - -UInt64 ColumnTuple::getNumberOfDefaultRows() const -{ - if (columns.empty()) - return column_length; - - return getNumberOfDefaultRowsImpl(); -} - -void ColumnTuple::getIndicesOfNonDefaultRows(Offsets & indices, size_t from, size_t limit) const -{ - if (columns.empty()) - return; - - return getIndicesOfNonDefaultRowsImpl(indices, from, limit); -} - void ColumnTuple::finalize() { for (auto & column : columns)