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

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 0.10.0
    • 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

        Issue Links

          Activity

            People

              Unassigned Unassigned
              Lei Rui Lei Rui
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 20m
                  20m