feat: add Dictionary to ColumnDataType (#290)
This commit is contained in:
@@ -153,6 +153,7 @@ enum ColumnDataType {
|
||||
VECTOR = 32;
|
||||
LIST = 40;
|
||||
STRUCT = 41;
|
||||
DICTIONARY = 42;
|
||||
}
|
||||
|
||||
message IntervalMonthDayNano {
|
||||
@@ -205,6 +206,7 @@ message ColumnDataTypeExtension {
|
||||
StructTypeExtension struct_type = 5;
|
||||
// Marks the data type is a logical json data
|
||||
JsonNativeTypeExtension json_native_type = 6;
|
||||
DictionaryTypeExtension dictionary_type = 7;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -236,6 +238,13 @@ message JsonNativeTypeExtension {
|
||||
ColumnDataTypeExtension datatype_extension = 2;
|
||||
}
|
||||
|
||||
message DictionaryTypeExtension {
|
||||
ColumnDataType key_datatype = 1;
|
||||
ColumnDataTypeExtension key_datatype_extension = 2;
|
||||
ColumnDataType value_datatype = 3;
|
||||
ColumnDataTypeExtension value_datatype_extension = 4;
|
||||
}
|
||||
|
||||
// Additional options for the column.
|
||||
message ColumnOptions {
|
||||
// Supported keys:
|
||||
|
||||
Reference in New Issue
Block a user