You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@iotdb.apache.org by "Bo Zhang (Jira)" <ji...@apache.org> on 2022/03/29 07:51:00 UTC
[jira] [Reopened] (IOTDB-2821) 1 small enhance for AggregationType#deserialize
[ https://issues.apache.org/jira/browse/IOTDB-2821?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Bo Zhang reopened IOTDB-2821:
-----------------------------
> 1 small enhance for AggregationType#deserialize
> -----------------------------------------------
>
> Key: IOTDB-2821
> URL: https://issues.apache.org/jira/browse/IOTDB-2821
> Project: Apache IoTDB
> Issue Type: Improvement
> Components: Core/Others
> Reporter: Bo Zhang
> Assignee: Bo Zhang
> Priority: Major
> Attachments: image-2022-03-29-15-26-44-725.png
>
>
> org.apache.iotdb.db.query.aggregation.AggregationType#deserialize
> =======================================
> !image-2022-03-29-15-26-44-725.png!
> =============================
> I feel that
> 1) It makes 1 simple coding more complicated.
> 2) When new UDAF funcitons are added, dev need add new type to this swith..case , which should not be necessary.
> 3) org.apache.iotdb.db.query.aggregation.AggregationType#serializeTo also has similiar issue.
>
>
>
>
>
--
This message was sent by Atlassian Jira
(v8.20.1#820001)