feat: introduce vector type (#197)
Signed-off-by: Zhenchi <zhongzc_arch@outlook.com>
This commit is contained in:
@@ -118,6 +118,7 @@ enum ColumnDataType {
|
|||||||
INTERVAL_MONTH_DAY_NANO = 25;
|
INTERVAL_MONTH_DAY_NANO = 25;
|
||||||
DECIMAL128 = 30;
|
DECIMAL128 = 30;
|
||||||
JSON = 31;
|
JSON = 31;
|
||||||
|
VECTOR = 32;
|
||||||
}
|
}
|
||||||
|
|
||||||
message IntervalMonthDayNano {
|
message IntervalMonthDayNano {
|
||||||
@@ -138,6 +139,7 @@ message ColumnDataTypeExtension {
|
|||||||
DecimalTypeExtension decimal_type = 1;
|
DecimalTypeExtension decimal_type = 1;
|
||||||
// Marks the binary column in proto is actually a JSON column.
|
// Marks the binary column in proto is actually a JSON column.
|
||||||
JsonTypeExtension json_type = 2;
|
JsonTypeExtension json_type = 2;
|
||||||
|
VectorTypeExtension vector_type = 3;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -150,6 +152,10 @@ enum JsonTypeExtension {
|
|||||||
JSON_BINARY = 0;
|
JSON_BINARY = 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
message VectorTypeExtension {
|
||||||
|
uint32 dim = 1;
|
||||||
|
}
|
||||||
|
|
||||||
// Additional options for the column.
|
// Additional options for the column.
|
||||||
message ColumnOptions {
|
message ColumnOptions {
|
||||||
// Supported keys:
|
// Supported keys:
|
||||||
|
|||||||
Reference in New Issue
Block a user