Remove trash

This commit is contained in:
Alexey Milovidov 2022-10-22 07:25:37 +02:00
parent 22f87e2bf9
commit ef4b2b3f59

View File

@ -898,11 +898,7 @@ class FunctionBinaryArithmetic : public IFunction
if (isDateOrDate32(arguments[1].type) || isDateTime(arguments[1].type) || isDateTime64(arguments[1].type))
std::swap(new_arguments[0], new_arguments[1]);
/// Change interval argument type to its representation
new_arguments[1].type = std::make_shared<DataTypeNumber<DataTypeInterval::FieldType>>();
auto function = function_builder->build(new_arguments);
return function->execute(new_arguments, result_type, input_rows_count);
}