```
play-eu :) SELECT actor_login, event_type, count() FROM github_events WHERE repo_name = 'ClickHouse/ClickHouse' GROUP BY actor_login, event_type WITH ROLLUP ORDER BY count() DESC LIMIT 10

SELECT
    actor_login,
    event_type,
    count()
FROM github_events
WHERE repo_name = 'ClickHouse/ClickHouse'
GROUP BY
    actor_login,
    event_type
    WITH ROLLUP
ORDER BY count() DESC
LIMIT 10

Query id: 1b7baa06-2ee6-4ae8-b1ed-4c9ecb21514c

Ok.
Exception on client:
Code: 36. DB::Exception: Code: 36. DB::Exception: Unexpected value 0 in enum. (BAD_ARGUMENTS) (version 22.5.1.1984 (official build)). (BAD_ARGUMENTS)
```
static void updateAvgValueSizeHint(const IColumn & column, double & avg_value_size_hint);
protected:
    friend class DataTypeFactory;
    friend class AggregateFunctionSimpleState;
    
    void setCustomization(DataTypeCustomDescPtr custom_desc_) const;
    
    mutable DataTypeCustomNamePtr custom_name;
    mutable SerializationPtr custom_serialization;
public:
    const IDataTypeCustomName * getCustomName() const { return custom_name.get(); }
    const ISerialization * getCustomSerialization() const { return custom_serialization.get(); }
private:
    template <typename Ptr>
    Ptr getForSubcolumn(
        const String & subcolumn_name,
        const SubstreamData & data,
        Ptr SubstreamData::*member,
        bool throw_if_null) const;
};
struct WhichDataType
{
    TypeIndex idx;
    constexpr WhichDataType(TypeIndex idx_ = TypeIndex::Nothing) : idx(idx_) {} 
    constexpr WhichDataType(const IDataType & data_type) : idx(data_type.getTypeId()) {} 
    constexpr WhichDataType(const IDataType * data_type) : idx(data_type->getTypeId()) {} 
    
    WhichDataType(const DataTypePtr & data_type) : idx(data_type->getTypeId()) {}