fix exception message in Pipe::addTransform

This commit is contained in:
Alex Cheng 2023-09-22 19:55:44 +08:00 committed by Alexey Milovidov
parent d2b787429d
commit 5a6d37d8e7

View File

@ -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)
{