mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-09-19 16:20:50 +00:00
style fix
This commit is contained in:
parent
e13eec9c5a
commit
4c83b7e46f
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user