mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-12-01 20:12:02 +00:00
fix ci test
This commit is contained in:
parent
6c1a709d30
commit
a272cb7bcb
@ -751,8 +751,8 @@ namespace
|
|||||||
if constexpr (parseDateTime64)
|
if constexpr (parseDateTime64)
|
||||||
{
|
{
|
||||||
const DataTypeDateTime64 * datatime64_type = checkAndGetDataType<DataTypeDateTime64>(removeNullable(result_type).get());
|
const DataTypeDateTime64 * datatime64_type = checkAndGetDataType<DataTypeDateTime64>(removeNullable(result_type).get());
|
||||||
Int64 multipler = DecimalUtils::scaleMultiplier<DateTime64>(datatime64_type->getScale());
|
Int64 multiplier = DecimalUtils::scaleMultiplier<DateTime64>(datatime64_type->getScale());
|
||||||
res_data[i] = static_cast<Int64>(*result) * multipler + datetime.microsecond;
|
res_data[i] = static_cast<Int64>(*result) * multiplier + datetime.microsecond;
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
res_data[i] = static_cast<UInt32>(*result);
|
res_data[i] = static_cast<UInt32>(*result);
|
||||||
|
Loading…
Reference in New Issue
Block a user