Added method "getHeader" in IBlockOutputStream: development [#CLICKHOUSE-2]

This commit is contained in:
Alexey Milovidov 2018-02-20 02:39:16 +03:00
parent bb05235608
commit 4add285d55
2 changed files with 0 additions and 12 deletions

View File

@ -361,17 +361,6 @@ void InterpreterSelectQuery::getDatabaseAndTableNames(String & database_name, St
}
DataTypes InterpreterSelectQuery::getReturnTypes()
{
DataTypes res;
const NamesAndTypesList & columns = query_analyzer->getSelectSampleBlock().getNamesAndTypesList();
for (auto & column : columns)
res.push_back(column.type);
return res;
}
Block InterpreterSelectQuery::getSampleBlock()
{
return query_analyzer->getSelectSampleBlock();

View File

@ -81,7 +81,6 @@ public:
const BlockInputStreams & executeWithoutUnion();
/// TODO It's confusing that these methods return result structure for the case of QueryProcessingStage::Complete regardless to the actual 'to_stage'.
DataTypes getReturnTypes();
Block getSampleBlock();
static Block getSampleBlock(