mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-12-18 12:22:12 +00:00
style
This commit is contained in:
parent
c23764725a
commit
7176f23446
@ -13,7 +13,6 @@
|
||||
#include <Columns/IColumnImpl.h>
|
||||
|
||||
|
||||
|
||||
namespace DB
|
||||
{
|
||||
|
||||
|
@ -120,7 +120,7 @@ void ColumnNullable::get(size_t n, Field & res) const
|
||||
std::pair<String, DataTypePtr> ColumnNullable::getValueNameAndType(size_t n) const
|
||||
{
|
||||
if (isNullAt(n))
|
||||
return {"NULL", std::make_shared<DataTypeNullable>(std::make_shared<DataTypeNothing>())};
|
||||
return {"NULL", std::make_shared<DataTypeNullable>(std::make_shared<DataTypeNothing>())};
|
||||
|
||||
return getNestedColumn().getValueNameAndType(n);
|
||||
}
|
||||
|
@ -410,7 +410,7 @@ std::pair<String, DataTypePtr> ColumnVariant::getValueNameAndType(size_t n) cons
|
||||
{
|
||||
Discriminator discr = localDiscriminatorAt(n);
|
||||
if (discr == NULL_DISCRIMINATOR)
|
||||
return {"NULL", std::make_shared<DataTypeNullable>(std::make_shared<DataTypeNothing>())};
|
||||
return {"NULL", std::make_shared<DataTypeNullable>(std::make_shared<DataTypeNothing>())};
|
||||
|
||||
return variants[discr]->getValueNameAndType(offsetAt(n));
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user