You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@iotdb.apache.org by ca...@apache.org on 2024/07/25 06:25:58 UTC
(iotdb) branch ty/TableModelGrammar updated: Fix serialize method of CollectNode
This is an automated email from the ASF dual-hosted git repository.
caogaofei pushed a commit to branch ty/TableModelGrammar
in repository https://gitbox.apache.org/repos/asf/iotdb.git
The following commit(s) were added to refs/heads/ty/TableModelGrammar by this push:
new 0df4954bf09 Fix serialize method of CollectNode
0df4954bf09 is described below
commit 0df4954bf0900b4172aa62bf3b66e39453338ccc
Author: Beyyes <cg...@foxmail.com>
AuthorDate: Thu Jul 25 14:25:52 2024 +0800
Fix serialize method of CollectNode
---
.../iotdb/db/queryengine/plan/relational/planner/node/CollectNode.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/iotdb-core/datanode/src/main/java/org/apache/iotdb/db/queryengine/plan/relational/planner/node/CollectNode.java b/iotdb-core/datanode/src/main/java/org/apache/iotdb/db/queryengine/plan/relational/planner/node/CollectNode.java
index 668ee384909..5fa3d34ac6a 100644
--- a/iotdb-core/datanode/src/main/java/org/apache/iotdb/db/queryengine/plan/relational/planner/node/CollectNode.java
+++ b/iotdb-core/datanode/src/main/java/org/apache/iotdb/db/queryengine/plan/relational/planner/node/CollectNode.java
@@ -102,12 +102,12 @@ public class CollectNode extends MultiChildProcessNode {
}
public static CollectNode deserialize(ByteBuffer byteBuffer) {
- PlanNodeId planNodeId = PlanNodeId.deserialize(byteBuffer);
int size = ReadWriteIOUtils.readInt(byteBuffer);
List<Symbol> outputs = new ArrayList<>(size);
while (size-- > 0) {
outputs.add(Symbol.deserialize(byteBuffer));
}
+ PlanNodeId planNodeId = PlanNodeId.deserialize(byteBuffer);
CollectNode collectNode = new CollectNode(planNodeId);
collectNode.setOutputSymbols(outputs);
return collectNode;