diff --git a/src/Processors/QueryPlan/ReadFromMergeTree.cpp b/src/Processors/QueryPlan/ReadFromMergeTree.cpp index 1ad8ab940da..0ee288168a8 100644 --- a/src/Processors/QueryPlan/ReadFromMergeTree.cpp +++ b/src/Processors/QueryPlan/ReadFromMergeTree.cpp @@ -1262,8 +1262,8 @@ bool ReadFromMergeTree::requestReadingInOrder(size_t prefix_size, int direction, if (!direction) direction = getSortDirection(); - /// Disable read-in-order optimization for reverse order with final. - /// Otherwise, it can lead to incorrect final behavior because the implementation may rely on the reading in direct order). + /// Disable read-in-order optimization for reverse order with final. + /// Otherwise, it can lead to incorrect final behavior because the implementation may rely on the reading in direct order). if (direction != 1 && isFinal(query_info)) return false; diff --git a/src/Storages/StorageMerge.cpp b/src/Storages/StorageMerge.cpp index da5472340f1..a30841d2975 100644 --- a/src/Storages/StorageMerge.cpp +++ b/src/Storages/StorageMerge.cpp @@ -910,8 +910,8 @@ void ReadFromMerge::convertingSourceStream( bool ReadFromMerge::requestReadingInOrder(InputOrderInfoPtr order_info_) { - /// Disable read-in-order optimization for reverse order with final. - /// Otherwise, it can lead to incorrect final behavior because the implementation may rely on the reading in direct order). + /// Disable read-in-order optimization for reverse order with final. + /// Otherwise, it can lead to incorrect final behavior because the implementation may rely on the reading in direct order). if (order_info_->direction != 1 && isFinal(query_info)) return false;