[ 
https://issues.apache.org/jira/browse/IOTDB-522?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17044399#comment-17044399
 ] 

Jialin Qiao commented on IOTDB-522:
-----------------------------------

Hi, we could add two interfaces in AggregateResult:

 

public abstract void serializeTo(OutputStream outputStream);

public static AggregateResult deserialize(ByteBuffer buffer){};

 

An AggregateResult type should be added and serialized first. Then, it is used 
to deserialize.

> Aggregation result should be serializable
> -----------------------------------------
>
>                 Key: IOTDB-522
>                 URL: https://issues.apache.org/jira/browse/IOTDB-522
>             Project: Apache IoTDB
>          Issue Type: Improvement
>            Reporter: Tian Jiang
>            Priority: Major
>              Labels: aggregation, distributed, query
>             Fix For: master branch
>
>
> As the coordinator node in the distributed version should gather the 
> aggregation results from other nodes and merge them, the AggregationResults 
> must be serializable for the nodes to transfer them.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to