Update greatCircleDistance.cpp

This commit is contained in:
Alexey Milovidov 2022-05-25 21:59:31 +03:00 committed by GitHub
parent 28355114c0
commit 4482da9eb6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -272,7 +272,8 @@ private:
dst_data.resize(input_rows_count);
auto arguments_copy = arguments;
for (auto & argument : arguments_copy) {
for (auto & argument : arguments_copy)
{
argument.column = argument.column->convertToFullColumnIfConst();
argument.column = castColumn(argument, result_type);
argument.type = result_type;