From ac1c1296e4fd5017402eefcb8d648ca83f3ba540 Mon Sep 17 00:00:00 2001 From: Zhichao Zhang Date: Mon, 22 Jan 2024 10:09:51 +0800 Subject: [PATCH] [GLUTEN-4454][CH] Support write mergetree data for CH backend (#480) (cherry picked from commit d3f342af0439963b2446df107126532ad367d9be) (cherry picked from commit 455abd95366b163cda41bc168295721ec3ee4e40) (cherry picked from commit b5ee34e56ef1f81286236b67e4863a1b3a2eec44) (cherry picked from commit 3af3237e4877a98cd83a0e0b603edb311c462ca2) (cherry picked from commit 33dfc58e1988ba8e41a17de5024c797f7e670ad2) --- src/Processors/QueryPlan/ReadFromMergeTree.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/Processors/QueryPlan/ReadFromMergeTree.h b/src/Processors/QueryPlan/ReadFromMergeTree.h index 5ed742a9bfdd..160fc4dc6661 100644 --- a/src/Processors/QueryPlan/ReadFromMergeTree.h +++ b/src/Processors/QueryPlan/ReadFromMergeTree.h @@ -191,6 +191,7 @@ class ReadFromMergeTree final : public SourceStepWithFilter size_t getMaxBlockSize() const { return block_size.max_block_size_rows; } size_t getNumStreams() const { return requested_num_streams; } bool isParallelReadingEnabled() const { return read_task_callback != std::nullopt; } + ReadFromMergeTree::AnalysisResult getAnalysisResult() const; void applyFilters(ActionDAGNodes added_filter_nodes) override; @@ -271,8 +272,6 @@ class ReadFromMergeTree final : public SourceStepWithFilter Pipe spreadMarkRangesAmongStreamsFinal( RangesInDataParts && parts, size_t num_streams, const Names & origin_column_names, const Names & column_names, ActionsDAGPtr & out_projection); - ReadFromMergeTree::AnalysisResult getAnalysisResult() const; - AnalysisResultPtr analyzed_result_ptr; VirtualFields shared_virtual_fields;