Ignore constants for remote query from local replica.

This commit is contained in:
Nikolai Kochetov 2020-07-29 17:14:13 +03:00
parent fdc49cadb7
commit 133422d5e7

View File

@ -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.