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

[jira] [Created] (IOTDB-2521) Compatibility of 0.13 with 0.12 on group by level query

Jialin Qiao created IOTDB-2521:
----------------------------------

             Summary: Compatibility of 0.13 with 0.12 on group by level query
                 Key: IOTDB-2521
                 URL: https://issues.apache.org/jira/browse/IOTDB-2521
             Project: Apache IoTDB
          Issue Type: Task
            Reporter: Jialin Qiao


Suppose we have timeseries:

root.sg1.d1.s1

root.sg2.d1.s1

 

For this sql: select count(s1) from root.sg1.d1 group by level=2

0.12 returns 2 column: root.sg1.d1,   root.sg2.d1

0.13 returns 1 column: root.*.d1

 

In 0.13, If we want to get the same result as 0.12, the SQL should be 

select count(s1) from root.sg1.d1 group by level=1, 2

 



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