You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@iotdb.apache.org by ca...@apache.org on 2024/10/16 09:01:25 UTC
(iotdb) branch fix_it created (now 601b1fe8b57)
This is an automated email from the ASF dual-hosted git repository.
caogaofei pushed a change to branch fix_it
in repository https://gitbox.apache.org/repos/asf/iotdb.git
at 601b1fe8b57 fix it
This branch includes the following new commits:
new 601b1fe8b57 fix it
The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "add" were already present in the repository and have only
been added to this reference.
(iotdb) 01/01: fix it
Posted by ca...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
caogaofei pushed a commit to branch fix_it
in repository https://gitbox.apache.org/repos/asf/iotdb.git
commit 601b1fe8b57144dc10d6cba0c946661a62ee2498
Author: Beyyes <cg...@foxmail.com>
AuthorDate: Wed Oct 16 17:01:11 2024 +0800
fix it
---
.../relational/it/db/it/IoTDBMultiIDsWithAttributesTableIT.java | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/integration-test/src/test/java/org/apache/iotdb/relational/it/db/it/IoTDBMultiIDsWithAttributesTableIT.java b/integration-test/src/test/java/org/apache/iotdb/relational/it/db/it/IoTDBMultiIDsWithAttributesTableIT.java
index e9109ab3839..2f7131cf710 100644
--- a/integration-test/src/test/java/org/apache/iotdb/relational/it/db/it/IoTDBMultiIDsWithAttributesTableIT.java
+++ b/integration-test/src/test/java/org/apache/iotdb/relational/it/db/it/IoTDBMultiIDsWithAttributesTableIT.java
@@ -889,13 +889,13 @@ public class IoTDBMultiIDsWithAttributesTableIT {
sql =
"select device, level, count(num) as count_num, count(*) as count_star, count(device) as count_device, count(date) as count_date, "
+ "count(attr1) as count_attr1, count(attr2) as count_attr2, count(time) as count_time, sum(num) as sum_num,"
- + "avg(num) as avg_num from table0 where time=32 group by device, level";
+ + "avg(num) as avg_num from table0 where time=32 group by device, level order by device, level";
tableResultSetEqualTest(sql, expectedHeader, retArray, DATABASE_NAME);
retArray = new String[] {"d1,l2,1,1,1,0,1,1,1,12.0,12.0,", "d2,l2,1,1,1,0,1,0,1,12.0,12.0,"};
sql =
"select device, level, count(num) as count_num, count(*) as count_star, count(device) as count_device, count(date) as count_date, "
+ "count(attr1) as count_attr1, count(attr2) as count_attr2, count(time) as count_time, sum(num) as sum_num,"
- + "avg(num) as avg_num from table0 where time=32 or time=1971-04-27T01:46:40.000+08:00 group by device, level";
+ + "avg(num) as avg_num from table0 where time=32 or time=1971-04-27T01:46:40.000+08:00 group by device, level order by device, level";
tableResultSetEqualTest(sql, expectedHeader, retArray, DATABASE_NAME);
expectedHeader =
@@ -918,7 +918,7 @@ public class IoTDBMultiIDsWithAttributesTableIT {
"select device, level, date_bin(1d, time) as bin, count(num) as count_num, count(*) as count_star, "
+ "count(device) as count_device, count(date) as count_date, "
+ "count(attr1) as count_attr1, count(attr2) as count_attr2, count(time) as count_time, sum(num) as sum_num,"
- + "avg(num) as avg_num from table0 where time=32 group by 3, device, level";
+ + "avg(num) as avg_num from table0 where time=32 group by 3, device, level order by device, level";
tableResultSetEqualTest(sql, expectedHeader, retArray, DATABASE_NAME);
retArray =
new String[] {
@@ -929,7 +929,7 @@ public class IoTDBMultiIDsWithAttributesTableIT {
"select device, level, date_bin(1d, time) as bin, count(num) as count_num, count(*) as count_star, "
+ "count(device) as count_device, count(date) as count_date, "
+ "count(attr1) as count_attr1, count(attr2) as count_attr2, count(time) as count_time, sum(num) as sum_num,"
- + "avg(num) as avg_num from table0 where time=32 or time=1971-04-27T01:46:40.000+08:00 group by 3, device, level";
+ + "avg(num) as avg_num from table0 where time=32 or time=1971-04-27T01:46:40.000+08:00 group by 3, device, level order by device, level";
tableResultSetEqualTest(sql, expectedHeader, retArray, DATABASE_NAME);
}