mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-24 08:32:02 +00:00
Revert #17359
This commit is contained in:
parent
502bc3575c
commit
054da0ea34
@ -56,7 +56,10 @@ public:
|
||||
+ " because the values of that data type are not comparable", ErrorCodes::ILLEGAL_TYPE_OF_ARGUMENT);
|
||||
}
|
||||
|
||||
String getName() const override { return StringRef(Data::ValueData_t::name()) == StringRef("min") ? "argMin" : "argMax"; }
|
||||
String getName() const override
|
||||
{
|
||||
return StringRef(Data::ValueData_t::name()) == StringRef("min") ? "argMin" : "argMax";
|
||||
}
|
||||
|
||||
DataTypePtr getReturnType() const override
|
||||
{
|
||||
|
@ -419,9 +419,10 @@ public:
|
||||
new (place) Data;
|
||||
}
|
||||
|
||||
void create(AggregateDataPtr __restrict place) const override { new (place) Data; }
|
||||
|
||||
void destroy(AggregateDataPtr __restrict place) const noexcept override { data(place).~Data(); }
|
||||
void destroy(AggregateDataPtr __restrict place) const noexcept override
|
||||
{
|
||||
data(place).~Data();
|
||||
}
|
||||
|
||||
bool hasTrivialDestructor() const override
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user