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:13 UTC

[iotdb] 01/01: Add interface

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 {