Skip to content

Commit 75c5fb5

Browse files
authored
feat: introduce vector type (#197)
Signed-off-by: Zhenchi <[email protected]>
1 parent 67bb1d5 commit 75c5fb5

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

proto/greptime/v1/common.proto

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -118,6 +118,7 @@ enum ColumnDataType {
118118
INTERVAL_MONTH_DAY_NANO = 25;
119119
DECIMAL128 = 30;
120120
JSON = 31;
121+
VECTOR = 32;
121122
}
122123

123124
message IntervalMonthDayNano {
@@ -138,6 +139,7 @@ message ColumnDataTypeExtension {
138139
DecimalTypeExtension decimal_type = 1;
139140
// Marks the binary column in proto is actually a JSON column.
140141
JsonTypeExtension json_type = 2;
142+
VectorTypeExtension vector_type = 3;
141143
}
142144
}
143145

@@ -150,6 +152,10 @@ enum JsonTypeExtension {
150152
JSON_BINARY = 0;
151153
}
152154

155+
message VectorTypeExtension {
156+
uint32 dim = 1;
157+
}
158+
153159
// Additional options for the column.
154160
message ColumnOptions {
155161
// Supported keys:

0 commit comments

Comments
 (0)