This is an automated email from the ASF dual-hosted git repository.

xikai pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/incubator-horaedb-proto.git


The following commit(s) were added to refs/heads/main by this push:
     new 19ece8f  fix!: change request id from int to string (#127)
19ece8f is described below

commit 19ece8f771fc0b3e8e734072cc3d8040de6c74cb
Author: Jiacai Liu <[email protected]>
AuthorDate: Wed Jan 10 10:13:28 2024 +0800

    fix!: change request id from int to string (#127)
---
 protos/engine/remote_engine.proto | 8 +++-----
 1 file changed, 3 insertions(+), 5 deletions(-)

diff --git a/protos/engine/remote_engine.proto 
b/protos/engine/remote_engine.proto
index a686270..45171c2 100644
--- a/protos/engine/remote_engine.proto
+++ b/protos/engine/remote_engine.proto
@@ -63,7 +63,7 @@ enum ReadOrder {
 }
 
 message TableReadRequest {
-  uint64 request_id = 1;
+  string request_id = 1;
   ReadOptions opts = 2;
   schema.ProjectedSchema projected_schema = 3;
   Predicate predicate = 4;
@@ -167,16 +167,14 @@ enum QueryPriority {
 enum Explain { Analyze = 0; }
 
 message ExecContext {
-  // This field is deprecated, use request_id_str instead.
-  uint64 request_id = 1;
+  string request_id = 1;
   string default_catalog = 2;
   string default_schema = 3;
   // -1 means no timeout
   int64 timeout_ms = 4;
   QueryPriority priority = 5;
   string displayable_query = 6;
-  string request_id_str = 7;
-  optional Explain explain = 8;
+  optional Explain explain = 7;
 }
 
 message ExecutePlanRequest {


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to