mirror of
https://github.com/GreptimeTeam/greptimedb.git
synced 2025-12-26 08:00:01 +00:00
fix: field number of proto (#541)
This commit is contained in:
@@ -42,11 +42,11 @@ message InsertExpr {
|
|||||||
string table_name = 2;
|
string table_name = 2;
|
||||||
|
|
||||||
message Values {
|
message Values {
|
||||||
repeated bytes values = 3;
|
repeated bytes values = 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
oneof expr {
|
oneof expr {
|
||||||
Values values = 4;
|
Values values = 3;
|
||||||
|
|
||||||
// TODO(LFC): Remove field "sql" in InsertExpr.
|
// TODO(LFC): Remove field "sql" in InsertExpr.
|
||||||
// When Frontend instance received an insertion SQL (`insert into ...`), it's anticipated to parse the SQL and
|
// When Frontend instance received an insertion SQL (`insert into ...`), it's anticipated to parse the SQL and
|
||||||
@@ -55,12 +55,12 @@ message InsertExpr {
|
|||||||
// Then why the "sql" field exists here? It's because the Frontend needs table schema to create the values to insert,
|
// Then why the "sql" field exists here? It's because the Frontend needs table schema to create the values to insert,
|
||||||
// which is currently not able to find anywhere. (Maybe the table schema is suppose to be fetched from Meta?)
|
// which is currently not able to find anywhere. (Maybe the table schema is suppose to be fetched from Meta?)
|
||||||
// The "sql" field is meant to be removed in the future.
|
// The "sql" field is meant to be removed in the future.
|
||||||
string sql = 5;
|
string sql = 4;
|
||||||
}
|
}
|
||||||
|
|
||||||
/// The region number of current insert request.
|
/// The region number of current insert request.
|
||||||
uint32 region_number = 6;
|
uint32 region_number = 5;
|
||||||
map<string, bytes> options = 7;
|
map<string, bytes> options = 6;
|
||||||
}
|
}
|
||||||
|
|
||||||
// TODO(jiachun)
|
// TODO(jiachun)
|
||||||
|
|||||||
Reference in New Issue
Block a user