mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-28 18:42:26 +00:00
Fix constness
This commit is contained in:
parent
a3d57bd5af
commit
df60724847
@ -65,9 +65,7 @@ public:
|
||||
throw Exception("First argument for function " + getName() + " must be a function.",
|
||||
ErrorCodes::ILLEGAL_TYPE_OF_ARGUMENT);
|
||||
/// The types of the remaining arguments are already checked in getLambdaArgumentTypes.
|
||||
DataTypePtr return_type = removeLowCardinality(data_type_function->getReturnType());
|
||||
const auto accum_type = arguments.back().type;
|
||||
return accum_type;
|
||||
return DataTypePtr(arguments.back().type);
|
||||
}
|
||||
|
||||
ColumnPtr executeImpl(const ColumnsWithTypeAndName & arguments, const DataTypePtr &, size_t /*input_rows_count*/) const override
|
||||
|
Loading…
Reference in New Issue
Block a user