From 758f30cc17e95fb52aa603de15b0e7024ca3dfa1 Mon Sep 17 00:00:00 2001 From: Nikolai Kochetov Date: Fri, 30 Dec 2022 17:53:46 +0000 Subject: [PATCH] Cleanup. --- .../MergeTree/MergeTreeSequentialSource.cpp | 14 -------------- 1 file changed, 14 deletions(-) diff --git a/src/Storages/MergeTree/MergeTreeSequentialSource.cpp b/src/Storages/MergeTree/MergeTreeSequentialSource.cpp index ac7d9e17d32..7ae822935f3 100644 --- a/src/Storages/MergeTree/MergeTreeSequentialSource.cpp +++ b/src/Storages/MergeTree/MergeTreeSequentialSource.cpp @@ -341,20 +341,6 @@ void createMergeTreeSequentialSource( storage, storage_snapshot, std::move(data_part), std::move(columns_to_read), apply_deleted_mask, filter, std::move(context), log); plan.addStep(std::move(reading)); - - // if (filter) - // { - // if (filter->getOutputs().size() != 1) - // throw Exception( - // ErrorCodes::LOGICAL_ERROR, - // "Filter condition is exprected to have single output. Filter {}", - // filter->dumpDAG()); - - // auto column_name = filter->getOutputs().front()->result_name; - - // auto filtering = std::make_unique(plan.getCurrentDataStream(), filter, column_name, true); - // plan.addStep(std::move(filtering)); - // } } }