mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-10 01:25:21 +00:00
Dictionaries fix Date32 attribute underlying type
This commit is contained in:
parent
51826c14a0
commit
3e388db839
@ -46,9 +46,9 @@ std::optional<AttributeUnderlyingType> tryGetAttributeUnderlyingType(TypeIndex i
|
||||
switch (index) /// Special cases which do not map TypeIndex::T -> AttributeUnderlyingType::T
|
||||
{
|
||||
case TypeIndex::Date: return AttributeUnderlyingType::UInt16;
|
||||
case TypeIndex::Date32: return AttributeUnderlyingType::UInt32;
|
||||
case TypeIndex::Date32: return AttributeUnderlyingType::Int32;
|
||||
case TypeIndex::DateTime: return AttributeUnderlyingType::UInt32;
|
||||
case TypeIndex::DateTime64: return AttributeUnderlyingType::UInt64;
|
||||
case TypeIndex::DateTime64: return AttributeUnderlyingType::Int64;
|
||||
default: break;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user