From 7176f23446d13354673c990364f529c86c5eed03 Mon Sep 17 00:00:00 2001 From: Yakov Olkhovskiy Date: Sun, 15 Dec 2024 23:55:46 +0000 Subject: [PATCH] style --- src/Columns/ColumnDecimal.h | 1 - src/Columns/ColumnNullable.cpp | 2 +- src/Columns/ColumnVariant.cpp | 2 +- 3 files changed, 2 insertions(+), 3 deletions(-) diff --git a/src/Columns/ColumnDecimal.h b/src/Columns/ColumnDecimal.h index a8e065fe02d..5c773154d8c 100644 --- a/src/Columns/ColumnDecimal.h +++ b/src/Columns/ColumnDecimal.h @@ -13,7 +13,6 @@ #include - namespace DB { diff --git a/src/Columns/ColumnNullable.cpp b/src/Columns/ColumnNullable.cpp index 291a83dbd66..1706569d12e 100644 --- a/src/Columns/ColumnNullable.cpp +++ b/src/Columns/ColumnNullable.cpp @@ -120,7 +120,7 @@ void ColumnNullable::get(size_t n, Field & res) const std::pair ColumnNullable::getValueNameAndType(size_t n) const { if (isNullAt(n)) - return {"NULL", std::make_shared(std::make_shared())}; + return {"NULL", std::make_shared(std::make_shared())}; return getNestedColumn().getValueNameAndType(n); } diff --git a/src/Columns/ColumnVariant.cpp b/src/Columns/ColumnVariant.cpp index 62a7e91b12e..40d83f5a5ce 100644 --- a/src/Columns/ColumnVariant.cpp +++ b/src/Columns/ColumnVariant.cpp @@ -410,7 +410,7 @@ std::pair ColumnVariant::getValueNameAndType(size_t n) cons { Discriminator discr = localDiscriminatorAt(n); if (discr == NULL_DISCRIMINATOR) - return {"NULL", std::make_shared(std::make_shared())}; + return {"NULL", std::make_shared(std::make_shared())}; return variants[discr]->getValueNameAndType(offsetAt(n)); }