diff --git a/src/Functions/toModifiedJulianDay.cpp b/src/Functions/toModifiedJulianDay.cpp index bd1ff7183ff..f11cfe5181c 100644 --- a/src/Functions/toModifiedJulianDay.cpp +++ b/src/Functions/toModifiedJulianDay.cpp @@ -201,14 +201,14 @@ namespace DB "The argument of function " + getName() + " must be String or FixedString", ErrorCodes::ILLEGAL_TYPE_OF_ARGUMENT); } - DataTypePtr baseType = std::make_shared(); + DataTypePtr base_type = std::make_shared(); if constexpr (nullOnErrors) { - return std::make_shared(baseType); + return std::make_shared(base_type); } else { - return baseType; + return base_type; } }