You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@horaedb.apache.org by ji...@apache.org on 2024/01/04 08:23:10 UTC

(incubator-horaedb-proto) branch main updated (20d83b3 -> e7dd950)

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

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


    from 20d83b3  chore: update NOTICE's year (#124)
     new 32346e0  feat: request_id as string (#111)
     new 2df41d9  feat: add metrics field in read response (#112)
     new 375c5ac  fix: add explain remote query context (#120)
     new e7dd950  feat: update table options (#123)

The 4 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


Summary of changes:
 protos/engine/manifest.proto      |  6 ++++++
 protos/engine/remote_engine.proto | 12 ++++++++++++
 2 files changed, 18 insertions(+)


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@horaedb.apache.org
For additional commands, e-mail: commits-help@horaedb.apache.org


(incubator-horaedb-proto) 04/04: feat: update table options (#123)

Posted by ji...@apache.org.
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 e7dd95087516c528a946ff922d63a00da68deb54
Author: kamille <34...@users.noreply.github.com>
AuthorDate: Thu Jan 4 13:41:34 2024 +0800

    feat: update table options (#123)
---
 protos/engine/manifest.proto | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/protos/engine/manifest.proto b/protos/engine/manifest.proto
index fe9c0f2..f3fdef8 100644
--- a/protos/engine/manifest.proto
+++ b/protos/engine/manifest.proto
@@ -134,6 +134,7 @@ message TableOptions {
   // is still unknown.
   bool sampling_segment_duration = 11;
   StorageFormatHint storage_format_hint = 12;
+  LayeredMemtableOptions layered_memtable_options = 13;
 }
 
 enum UpdateMode {
@@ -188,3 +189,8 @@ enum Compression {
   SNAPPY = 2;
   ZSTD = 3;
 }
+
+message LayeredMemtableOptions {
+  // Layered memtable will be disable when threshold is 0.
+  uint64 mutable_segment_switch_threshold = 1;
+}


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@horaedb.apache.org
For additional commands, e-mail: commits-help@horaedb.apache.org


(incubator-horaedb-proto) 01/04: feat: request_id as string (#111)

Posted by ji...@apache.org.
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 32346e06a6e8d4f5d9fa5ee7c3c67957e10478c0
Author: Jiacai Liu <de...@liujiacai.net>
AuthorDate: Thu Dec 7 09:56:28 2023 +0800

    feat: request_id as string (#111)
---
 protos/engine/remote_engine.proto | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/protos/engine/remote_engine.proto b/protos/engine/remote_engine.proto
index 5b562d2..0aad303 100644
--- a/protos/engine/remote_engine.proto
+++ b/protos/engine/remote_engine.proto
@@ -158,6 +158,7 @@ enum QueryPriority {
 }
 
 message ExecContext {
+  // This field is deprecated, use request_id_str instead.
   uint64 request_id = 1;
   string default_catalog = 2;
   string default_schema = 3;
@@ -165,6 +166,7 @@ message ExecContext {
   int64 timeout_ms = 4;
   QueryPriority priority = 5;
   string displayable_query = 6;
+  string request_id_str = 7;
 }
 
 message ExecutePlanRequest {


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@horaedb.apache.org
For additional commands, e-mail: commits-help@horaedb.apache.org


(incubator-horaedb-proto) 03/04: fix: add explain remote query context (#120)

Posted by ji...@apache.org.
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 375c5ac9e3acbc62dc701d785c35bbe04d05b130
Author: Jiacai Liu <de...@liujiacai.net>
AuthorDate: Fri Dec 29 16:15:21 2023 +0800

    fix: add explain remote query context (#120)
---
 protos/engine/remote_engine.proto | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/protos/engine/remote_engine.proto b/protos/engine/remote_engine.proto
index a8e0789..a686270 100644
--- a/protos/engine/remote_engine.proto
+++ b/protos/engine/remote_engine.proto
@@ -164,6 +164,8 @@ enum QueryPriority {
   Low = 1;
 }
 
+enum Explain { Analyze = 0; }
+
 message ExecContext {
   // This field is deprecated, use request_id_str instead.
   uint64 request_id = 1;
@@ -174,6 +176,7 @@ message ExecContext {
   QueryPriority priority = 5;
   string displayable_query = 6;
   string request_id_str = 7;
+  optional Explain explain = 8;
 }
 
 message ExecutePlanRequest {


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@horaedb.apache.org
For additional commands, e-mail: commits-help@horaedb.apache.org


(incubator-horaedb-proto) 02/04: feat: add metrics field in read response (#112)

Posted by ji...@apache.org.
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: 鲍金日 <ba...@gmail.com>
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: commits-unsubscribe@horaedb.apache.org
For additional commands, e-mail: commits-help@horaedb.apache.org