mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-09-29 05:00:47 +00:00
Ignore constants for remote query from local replica.
This commit is contained in:
parent
fdc49cadb7
commit
133422d5e7
@ -80,7 +80,7 @@ QueryPipeline createLocalStream(
|
|||||||
pipeline.addSimpleTransform([&](const Block & source_header)
|
pipeline.addSimpleTransform([&](const Block & source_header)
|
||||||
{
|
{
|
||||||
return std::make_shared<ConvertingTransform>(
|
return std::make_shared<ConvertingTransform>(
|
||||||
source_header, header, ConvertingTransform::MatchColumnsMode::Name);
|
source_header, header, ConvertingTransform::MatchColumnsMode::Name, true);
|
||||||
});
|
});
|
||||||
|
|
||||||
/** Materialization is needed, since from remote servers the constants come materialized.
|
/** Materialization is needed, since from remote servers the constants come materialized.
|
||||||
|
Loading…
Reference in New Issue
Block a user