This commit is contained in:
Alexey Milovidov 2018-08-05 10:10:08 +03:00
parent 28771401a9
commit 2b2869e998

View File

@ -280,7 +280,7 @@ BlockInputStreams StorageMerge::read(
case QueryProcessingStage::Complete: case QueryProcessingStage::Complete:
header = materializeBlock(InterpreterSelectQuery( header = materializeBlock(InterpreterSelectQuery(
query_info.query, context, std::make_shared<OneBlockInputStream>(getSampleBlockForColumns(column_names)), query_info.query, context, std::make_shared<OneBlockInputStream>(getSampleBlockForColumns(column_names)),
processed_stage_in_source_table, true).getSampleBlock()); processed_stage, true).getSampleBlock());
break; break;
} }
} }