Dictionaries added support for DateTime64

This commit is contained in:
Maksim Kita 2022-01-22 18:03:45 +00:00
parent 4100512818
commit fd87d81108
8 changed files with 8 additions and 1 deletions

View File

@ -553,6 +553,7 @@ private:
ContainerType<Decimal64>, ContainerType<Decimal64>,
ContainerType<Decimal128>, ContainerType<Decimal128>,
ContainerType<Decimal256>, ContainerType<Decimal256>,
ContainerType<DateTime64>,
ContainerType<Float32>, ContainerType<Float32>,
ContainerType<Float64>, ContainerType<Float64>,
ContainerType<UUID>, ContainerType<UUID>,

View File

@ -50,7 +50,6 @@ std::optional<AttributeUnderlyingType> tryGetAttributeUnderlyingType(TypeIndex i
case TypeIndex::Date: return AttributeUnderlyingType::UInt16; case TypeIndex::Date: return AttributeUnderlyingType::UInt16;
case TypeIndex::Date32: return AttributeUnderlyingType::Int32; case TypeIndex::Date32: return AttributeUnderlyingType::Int32;
case TypeIndex::DateTime: return AttributeUnderlyingType::UInt32; case TypeIndex::DateTime: return AttributeUnderlyingType::UInt32;
case TypeIndex::DateTime64: return AttributeUnderlyingType::Int64;
default: break; default: break;
} }

View File

@ -37,6 +37,7 @@ enum class AttributeUnderlyingType : TypeIndexUnderlying
map_item(UInt8), map_item(UInt16), map_item(UInt32), map_item(UInt64), map_item(UInt128), map_item(UInt256), map_item(UInt8), map_item(UInt16), map_item(UInt32), map_item(UInt64), map_item(UInt128), map_item(UInt256),
map_item(Float32), map_item(Float64), map_item(Float32), map_item(Float64),
map_item(Decimal32), map_item(Decimal64), map_item(Decimal128), map_item(Decimal256), map_item(Decimal32), map_item(Decimal64), map_item(Decimal128), map_item(Decimal256),
map_item(DateTime64),
map_item(UUID), map_item(String), map_item(Array) map_item(UUID), map_item(String), map_item(Array)
}; };

View File

@ -127,6 +127,7 @@ private:
ContainerType<Decimal64>, ContainerType<Decimal64>,
ContainerType<Decimal128>, ContainerType<Decimal128>,
ContainerType<Decimal256>, ContainerType<Decimal256>,
ContainerType<DateTime64>,
ContainerType<Float32>, ContainerType<Float32>,
ContainerType<Float64>, ContainerType<Float64>,
ContainerType<UUID>, ContainerType<UUID>,

View File

@ -147,6 +147,7 @@ private:
AttributeContainerType<Decimal64>, AttributeContainerType<Decimal64>,
AttributeContainerType<Decimal128>, AttributeContainerType<Decimal128>,
AttributeContainerType<Decimal256>, AttributeContainerType<Decimal256>,
AttributeContainerType<DateTime64>,
AttributeContainerType<Float32>, AttributeContainerType<Float32>,
AttributeContainerType<Float64>, AttributeContainerType<Float64>,
AttributeContainerType<UUID>, AttributeContainerType<UUID>,

View File

@ -167,6 +167,7 @@ private:
CollectionType<Decimal64>, CollectionType<Decimal64>,
CollectionType<Decimal128>, CollectionType<Decimal128>,
CollectionType<Decimal256>, CollectionType<Decimal256>,
CollectionType<DateTime64>,
CollectionType<Float32>, CollectionType<Float32>,
CollectionType<Float64>, CollectionType<Float64>,
CollectionType<UUID>, CollectionType<UUID>,

View File

@ -114,6 +114,7 @@ private:
Decimal64, Decimal64,
Decimal128, Decimal128,
Decimal256, Decimal256,
DateTime64,
Float32, Float32,
Float64, Float64,
UUID, UUID,
@ -137,6 +138,7 @@ private:
ContainerType<Decimal64>, ContainerType<Decimal64>,
ContainerType<Decimal128>, ContainerType<Decimal128>,
ContainerType<Decimal256>, ContainerType<Decimal256>,
ContainerType<DateTime64>,
ContainerType<Float32>, ContainerType<Float32>,
ContainerType<Float64>, ContainerType<Float64>,
ContainerType<UUID>, ContainerType<UUID>,

View File

@ -122,6 +122,7 @@ private:
CollectionType<Decimal64>, CollectionType<Decimal64>,
CollectionType<Decimal128>, CollectionType<Decimal128>,
CollectionType<Decimal256>, CollectionType<Decimal256>,
CollectionType<DateTime64>,
CollectionType<Float32>, CollectionType<Float32>,
CollectionType<Float64>, CollectionType<Float64>,
CollectionType<UUID>, CollectionType<UUID>,