style fix

This commit is contained in:
Yarik Briukhovetskyi 2023-12-08 15:18:43 +00:00
parent e13eec9c5a
commit 4c83b7e46f

View File

@ -191,7 +191,7 @@ public:
case ResultType::DateTime64:
{
UInt32 scale = 0;
if (isDate32(arguments[0].type) || isDateTime(arguments[0].type) || isDateTime64(arguments[0].type))
if (isDate32(arguments[0].type) || isDateTime(arguments[0].type) || isDateTime64(arguments[0].type))
scale = assert_cast<const DataTypeDateTime64 &>(*arguments[0].type.get()).getScale();
if (interval_type->getKind() == IntervalKind::Nanosecond)
scale = 9 > scale ? 9 : scale;