MCPcopy Create free account
hub / github.com/ClickHouse/ClickHouse / checkOutput

Function checkOutput

src/QueryPipeline/QueryPipeline.cpp:75–88  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

73}
74
75static void checkOutput(const OutputPort & output, const ProcessorPtr & processor, const Processors & processors = {})
76{
77 if (!output.isConnected())
78 {
79 WriteBufferFromOwnString out;
80 if (!processors.empty())
81 printPipeline(processors, out);
82
83 throw Exception(
84 ErrorCodes::LOGICAL_ERROR,
85 "Cannot create QueryPipeline because {} {} has disconnected output: {}",
86 processor->getName(), processor->getDescription(), out.str());
87 }
88}
89
90static void checkPulling(
91 Processors & processors,

Callers 3

checkPullingFunction · 0.85
checkCompletedFunction · 0.85
QueryPipelineMethod · 0.85

Calls 7

printPipelineFunction · 0.85
ExceptionClass · 0.50
isConnectedMethod · 0.45
emptyMethod · 0.45
getNameMethod · 0.45
getDescriptionMethod · 0.45
strMethod · 0.45

Tested by

no test coverage detected