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

Separate query executions of the same timeseries with different aggregate functions may be optimized

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Labels:
      None

      Description

      For example,

      select avg(s1),sum(s1) from root.sg.d0

      select first_value(s1),first_time(s1) from root.sg.d0

      select count(s1), sum(s1) from root.sg.d0 group by ([1,100],2ms)

       

      The separate query executions of the same timeseries with different aggregate functions may be a waste. Probably they can be achieved in one execution.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              Lei Rui Lei Rui
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated: