Fix tests.

This commit is contained in:
Nikolai Kochetov 2020-06-15 23:20:45 +03:00
parent dbef88e073
commit da11190677

View File

@ -65,13 +65,6 @@ ReadFromStorageStep::ReadFromStorageStep(
pipes.emplace_back(std::move(pipe)); pipes.emplace_back(std::move(pipe));
} }
if (!blocksHaveEqualStructure(pipes.front().getHeader(), input_streams.front().header))
{
for (auto & pipe : pipes)
pipe.addSimpleTransform(std::make_shared<ConvertingTransform>(
pipe.getHeader(), input_streams.front().header, ConvertingTransform::MatchColumnsMode::Name));
}
pipeline = std::make_unique<QueryPipeline>(); pipeline = std::make_unique<QueryPipeline>();
/// Table lock is stored inside pipeline here. /// Table lock is stored inside pipeline here.