From 5a6d37d8e793299bf15c7cad2c366575ac5670d3 Mon Sep 17 00:00:00 2001 From: Alex Cheng Date: Fri, 22 Sep 2023 19:55:44 +0800 Subject: [PATCH] fix exception message in Pipe::addTransform --- src/QueryPipeline/Pipe.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/QueryPipeline/Pipe.cpp b/src/QueryPipeline/Pipe.cpp index 293d152ea65..ff842478712 100644 --- a/src/QueryPipeline/Pipe.cpp +++ b/src/QueryPipeline/Pipe.cpp @@ -556,7 +556,7 @@ void Pipe::addTransform(ProcessorPtr transform, InputPort * totals, InputPort * throw Exception(ErrorCodes::LOGICAL_ERROR, "Cannot add transform consuming totals to Pipe because Pipe does not have totals"); if (extremes && !extremes_port) - throw Exception(ErrorCodes::LOGICAL_ERROR, "Cannot add transform consuming extremes to Pipe because it already has extremes"); + throw Exception(ErrorCodes::LOGICAL_ERROR, "Cannot add transform consuming extremes to Pipe because Pipe does not have extremes"); if (totals) {