You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@iotdb.apache.org by "陈子陵 (Jira)" <ji...@apache.org> on 2022/01/27 09:33:00 UTC

[jira] [Created] (IOTDB-2501) Fix FirstValueAggrResult and add a test case in GroupByLevelDataSetTest

陈子陵 created IOTDB-2501:
--------------------------

             Summary: Fix FirstValueAggrResult and add a test case in GroupByLevelDataSetTest
                 Key: IOTDB-2501
                 URL: https://issues.apache.org/jira/browse/IOTDB-2501
             Project: Apache IoTDB
          Issue Type: Bug
          Components: Core/Query
    Affects Versions: master branch
            Reporter: 陈子陵
             Fix For: master branch


The behaviour of FirstValueAggrResult.updateResultUsingValues() and LastValueDescAggrResult.updateResultUsingValues() should be the same.

This issue try to fix it, and add a test case in GroupByLevelDataSetTest.java

the test case is like "select first_value(s0) from root.** where s0!=0 or time<10 group by level=3". The result before the fix is wrong.

 



--
This message was sent by Atlassian Jira
(v8.20.1#820001)