fix ci test

This commit is contained in:
kevinyhzou 2024-10-17 18:53:02 +08:00
parent 6c1a709d30
commit a272cb7bcb

View File

@ -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);