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

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

commit 2df41d9126661e659e53ae1df54760a956b8c630
Author: 鲍金日 <[email protected]>
AuthorDate: Tue Dec 19 11:16:47 2023 +0800

    feat: add metrics field in read response (#112)
    
    This field is used to return metric of child node when query is executed in 
distributed mode.
---
 protos/engine/remote_engine.proto | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/protos/engine/remote_engine.proto 
b/protos/engine/remote_engine.proto
index 0aad303..a8e0789 100644
--- a/protos/engine/remote_engine.proto
+++ b/protos/engine/remote_engine.proto
@@ -79,9 +79,16 @@ message ReadResponse {
   common.ResponseHeader header = 1;
   oneof output {
     storage.ArrowPayload arrow = 2;
+    // This field is used to return metric of child node when query is executed
+    // in distributed mode.
+    MetricPayload metric = 3;
   }
 }
 
+message MetricPayload {
+  string metric = 1;
+}
+
 message ColumnDesc {
   uint32 id = 1;
   schema.DataType typ = 2;


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

Reply via email to