mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-12-05 14:02:21 +00:00
Fix pretty type name
This commit is contained in:
parent
3de5b27c48
commit
21e4b453df
@ -71,17 +71,17 @@ std::string DataTypeVariant::doGetPrettyName(size_t indent) const
|
||||
{
|
||||
size_t size = variants.size();
|
||||
WriteBufferFromOwnString s;
|
||||
s << "Variant(\n";
|
||||
s << "Variant(";
|
||||
|
||||
for (size_t i = 0; i != size; ++i)
|
||||
{
|
||||
if (i != 0)
|
||||
s << ",\n";
|
||||
s << ", ";
|
||||
|
||||
s << fourSpaceIndent(indent + 1) << variants[i]->getPrettyName(indent + 1);
|
||||
s << variants[i]->getPrettyName(indent);
|
||||
}
|
||||
|
||||
s << '\n' << fourSpaceIndent(indent) << ')';
|
||||
s << ')';
|
||||
return s.str();
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user