mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-30 19:42:00 +00:00
Added method "getHeader" in IBlockOutputStream: development [#CLICKHOUSE-2]
This commit is contained in:
parent
bb05235608
commit
4add285d55
@ -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()
|
Block InterpreterSelectQuery::getSampleBlock()
|
||||||
{
|
{
|
||||||
return query_analyzer->getSelectSampleBlock();
|
return query_analyzer->getSelectSampleBlock();
|
||||||
|
@ -81,7 +81,6 @@ public:
|
|||||||
const BlockInputStreams & executeWithoutUnion();
|
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'.
|
/// 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();
|
Block getSampleBlock();
|
||||||
|
|
||||||
static Block getSampleBlock(
|
static Block getSampleBlock(
|
||||||
|
Loading…
Reference in New Issue
Block a user