mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-22 23:52:03 +00:00
Missing changes for previous revision. [#METR-9091]
This commit is contained in:
parent
e4dbb2fa34
commit
ad95a4f6d5
@ -270,6 +270,19 @@ std::string Block::dumpNames() const
|
||||
}
|
||||
|
||||
|
||||
std::string Block::dumpStructure() const
|
||||
{
|
||||
std::stringstream res;
|
||||
for (Container_t::const_iterator it = data.begin(); it != data.end(); ++it)
|
||||
{
|
||||
if (it != data.begin())
|
||||
res << ", ";
|
||||
res << it->name << ' ' << it->type->getName() << ' ' << it->column->getName() << ' ' << it->column->size();
|
||||
}
|
||||
return res.str();
|
||||
}
|
||||
|
||||
|
||||
Block Block::cloneEmpty() const
|
||||
{
|
||||
Block res;
|
||||
|
Loading…
Reference in New Issue
Block a user