Update AggregateFunctionNothing.h

This commit is contained in:
alexey-milovidov 2022-01-03 03:52:39 +03:00 committed by GitHub
parent 6d0881ead6
commit f0d2838a5b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -28,7 +28,7 @@ public:
DataTypePtr getReturnType() const override
{
return std::make_shared<DataTypeNullable>(std::make_shared<DataTypeNothing>());
return argument_types.front();
}
bool allocatesMemoryInArena() const override { return false; }