fix tests

This commit is contained in:
Yarik Briukhovetskyi 2024-06-05 16:39:54 +02:00 committed by GitHub
parent 1f26281493
commit 9a7888ba51
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -376,7 +376,7 @@ private:
/// If we have a time argument that has bigger scale than the interval can contain and interval is not default, we need /// If we have a time argument that has bigger scale than the interval can contain and interval is not default, we need
/// to return a value with bigger precision and thus we should multiply result on the scale difference. /// to return a value with bigger precision and thus we should multiply result on the scale difference.
result_data[i] = 0; result_data[i] = 0;
result_data[i] += static_cast<ResultFieldType>(ToStartOfInterval<unit>::execute(time_data[i], num_units, time_zone, scale_endtime)) * scale_diff; result_data[i] += static_cast<ResultFieldType>(ToStartOfInterval<unit>::execute(time_data[i], num_units, time_zone, scale_endtime));
} }
} }
else else