mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-09-24 18:50:49 +00:00
Merge pull request #9016 from 4ertus2/hotfix
Fix for T64 data incompatibility
This commit is contained in:
commit
be00382e7d
@ -14,40 +14,42 @@ namespace DB
|
||||
|
||||
struct Null {};
|
||||
|
||||
/// @warning Append only enum! Ids in this enum could be serialized in data.
|
||||
/// You MUST NOT change the order, insert or remove ids in the middle.
|
||||
enum class TypeIndex
|
||||
{
|
||||
Nothing = 0,
|
||||
UInt8,
|
||||
UInt16,
|
||||
UInt32,
|
||||
UInt64,
|
||||
UInt128,
|
||||
Int8,
|
||||
Int16,
|
||||
Int32,
|
||||
Int64,
|
||||
Int128,
|
||||
Float32,
|
||||
Float64,
|
||||
Date,
|
||||
DateTime,
|
||||
DateTime64,
|
||||
String,
|
||||
FixedString,
|
||||
Enum8,
|
||||
Enum16,
|
||||
Decimal32,
|
||||
Decimal64,
|
||||
Decimal128,
|
||||
UUID,
|
||||
Array,
|
||||
Tuple,
|
||||
Set,
|
||||
Interval,
|
||||
Nullable,
|
||||
Function,
|
||||
AggregateFunction,
|
||||
LowCardinality,
|
||||
Nothing = 0,
|
||||
UInt8 = 1,
|
||||
UInt16 = 2,
|
||||
UInt32 = 3,
|
||||
UInt64 = 4,
|
||||
UInt128 = 5,
|
||||
Int8 = 6,
|
||||
Int16 = 7,
|
||||
Int32 = 8,
|
||||
Int64 = 9,
|
||||
Int128 = 10,
|
||||
Float32 = 11,
|
||||
Float64 = 12,
|
||||
Date = 13,
|
||||
DateTime = 14,
|
||||
String = 15,
|
||||
FixedString = 16,
|
||||
Enum8 = 17,
|
||||
Enum16 = 18,
|
||||
Decimal32 = 19,
|
||||
Decimal64 = 20,
|
||||
Decimal128 = 21,
|
||||
UUID = 22,
|
||||
Array = 23,
|
||||
Tuple = 24,
|
||||
Set = 25,
|
||||
Interval = 26,
|
||||
Nullable = 27,
|
||||
Function = 28,
|
||||
AggregateFunction = 29,
|
||||
LowCardinality = 30,
|
||||
DateTime64 = 31,
|
||||
};
|
||||
|
||||
using UInt8 = uint8_t;
|
||||
|
Loading…
Reference in New Issue
Block a user