You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@iotdb.apache.org by ja...@apache.org on 2022/11/28 05:40:12 UTC

[iotdb] branch QueryDataPartionOpt created (now 94a669985d)

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

jackietien pushed a change to branch QueryDataPartionOpt
in repository https://gitbox.apache.org/repos/asf/iotdb.git


      at 94a669985d Add interface

This branch includes the following new commits:

     new 94a669985d Add interface

The 1 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.



[iotdb] 01/01: Add interface

Posted by ja...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

jackietien pushed a commit to branch QueryDataPartionOpt
in repository https://gitbox.apache.org/repos/asf/iotdb.git

commit 94a669985dfb09f17b02dcf33bb894a3ed94689f
Author: JackieTien97 <ja...@gmail.com>
AuthorDate: Mon Nov 28 11:29:05 2022 +0800

    Add interface
---
 thrift-confignode/src/main/thrift/confignode.thrift | 10 ++++++++--
 1 file changed, 8 insertions(+), 2 deletions(-)

diff --git a/thrift-confignode/src/main/thrift/confignode.thrift b/thrift-confignode/src/main/thrift/confignode.thrift
index b0402f2078..d4723d857d 100644
--- a/thrift-confignode/src/main/thrift/confignode.thrift
+++ b/thrift-confignode/src/main/thrift/confignode.thrift
@@ -198,10 +198,16 @@ struct TSchemaNodeManagementResp {
   3: optional set<common.TSchemaNode> matchedNode
 }
 
+struct TTimePartionSlotList {
+  1: required list<common.TTimePartitionSlot> timePartitionSlots
+  2: required bool needLeftAll
+  3: required bool needRightAll
+}
+
 // Data
 struct TDataPartitionReq {
-  // map<StorageGroupName, map<TSeriesPartitionSlot, list<TTimePartitionSlot>>>
-  1: required map<string, map<common.TSeriesPartitionSlot, list<common.TTimePartitionSlot>>> partitionSlotsMap
+  // map<StorageGroupName, map<TSeriesPartitionSlot, TTimePartionSlotList>>
+  1: required map<string, map<common.TSeriesPartitionSlot, TTimePartionSlotList>> partitionSlotsMap
 }
 
 struct TDataPartitionTableResp {