feat: introduce vector type (#197)

Signed-off-by: Zhenchi <zhongzc_arch@outlook.com>
This commit is contained in:
Zhenchi
2024-11-12 15:38:55 +08:00
committed by GitHub
parent 67bb1d52bc
commit 75c5fb5691
+6
View File
@@ -118,6 +118,7 @@ enum ColumnDataType {
INTERVAL_MONTH_DAY_NANO = 25;
DECIMAL128 = 30;
JSON = 31;
VECTOR = 32;
}
message IntervalMonthDayNano {
@@ -138,6 +139,7 @@ message ColumnDataTypeExtension {
DecimalTypeExtension decimal_type = 1;
// Marks the binary column in proto is actually a JSON column.
JsonTypeExtension json_type = 2;
VectorTypeExtension vector_type = 3;
}
}
@@ -150,6 +152,10 @@ enum JsonTypeExtension {
JSON_BINARY = 0;
}
message VectorTypeExtension {
uint32 dim = 1;
}
// Additional options for the column.
message ColumnOptions {
// Supported keys: