Uploaded image for project: 'Apache IoTDB'
  1. Apache IoTDB
  2. IOTDB-2821

1 small enhance for AggregationType#deserialize

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: In Progress
    • Major
    • Resolution: Unresolved
    • None
    • None
    • Core/Others
    • None

    Description

      org.apache.iotdb.db.query.aggregation.AggregationType#deserialize

      =======================================

      =============================

      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.

       

       

       

       

       

      Attachments

        Activity

          People

            jamber001 Bo Zhang
            jamber001 Bo Zhang
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: