mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-30 19:42:00 +00:00
Fix executors.
This commit is contained in:
parent
a8443bef4d
commit
53e946ec25
@ -65,7 +65,7 @@ PullingAsyncPipelineExecutor::~PullingAsyncPipelineExecutor()
|
||||
|
||||
const Block & PullingAsyncPipelineExecutor::getHeader() const
|
||||
{
|
||||
return pipeline.output->getHeader();
|
||||
return lazy_format->getPort(IOutputFormat::PortKind::Main).getHeader();
|
||||
}
|
||||
|
||||
static void threadFunction(PullingAsyncPipelineExecutor::Data & data, ThreadGroupStatusPtr thread_group, size_t num_threads)
|
||||
|
@ -36,7 +36,7 @@ PullingPipelineExecutor::~PullingPipelineExecutor()
|
||||
|
||||
const Block & PullingPipelineExecutor::getHeader() const
|
||||
{
|
||||
return pipeline.output->getHeader();
|
||||
return pulling_format->getPort(IOutputFormat::PortKind::Main).getHeader();
|
||||
}
|
||||
|
||||
bool PullingPipelineExecutor::pull(Chunk & chunk)
|
||||
|
Loading…
Reference in New Issue
Block a user