This is an automated email from the ASF dual-hosted git repository.
jackietien pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/iotdb.git
The following commit(s) were added to refs/heads/master by this push:
new f5c0e8af466 Try to make IoTDBTableAggregationNonStream2IT more stable
(#16361)
f5c0e8af466 is described below
commit f5c0e8af466e2b0cbf25296e7b5118e142397155
Author: Jackie Tien <[email protected]>
AuthorDate: Mon Sep 8 11:21:12 2025 +0800
Try to make IoTDBTableAggregationNonStream2IT more stable (#16361)
---
.../it/query/recent/IoTDBTableAggregationIT.java | 18 +++++++++---------
1 file changed, 9 insertions(+), 9 deletions(-)
diff --git
a/integration-test/src/test/java/org/apache/iotdb/relational/it/query/recent/IoTDBTableAggregationIT.java
b/integration-test/src/test/java/org/apache/iotdb/relational/it/query/recent/IoTDBTableAggregationIT.java
index f60777e2b0a..d684f83d36a 100644
---
a/integration-test/src/test/java/org/apache/iotdb/relational/it/query/recent/IoTDBTableAggregationIT.java
+++
b/integration-test/src/test/java/org/apache/iotdb/relational/it/query/recent/IoTDBTableAggregationIT.java
@@ -3741,7 +3741,7 @@ public class IoTDBTableAggregationIT {
expectedHeader,
retArray,
DATABASE_NAME);
- } catch (Exception e) {
+ } catch (Error e) {
// second try
tableResultSetEqualTest(
"select
last(time),last_by(s1,time),last_by(s2,time),last_by(s3,time),last_by(s4,time),last_by(s5,time),last_by(s6,time),last_by(s7,time),last_by(s8,time),last_by(s9,time),last_by(s10,time)
from table1 where device_id='d01'",
@@ -3779,7 +3779,7 @@ public class IoTDBTableAggregationIT {
expectedHeader,
retArray,
DATABASE_NAME);
- } catch (Exception e) {
+ } catch (Error e) {
// second try
tableResultSetEqualTest(
"select
device_id,last(time),last_by(s1,time),last_by(s2,time),last_by(s3,time),last_by(s4,time),last_by(s5,time),last_by(s6,time),last_by(s7,time),last_by(s8,time),last_by(s9,time),last_by(s10,time)
from table1 where device_id in ('d01', 'd04', 'd09', 'd12') group by device_id
order by device_id",
@@ -3820,7 +3820,7 @@ public class IoTDBTableAggregationIT {
expectedHeader,
retArray,
DATABASE_NAME);
- } catch (Exception e) {
+ } catch (Error e) {
// second try
tableResultSetEqualTest(
"select
province,city,region,device_id,last(time),last_by(s1,time),last_by(s2,time),last_by(s3,time),last_by(s4,time),last_by(s5,time),last_by(s6,time),last_by(s7,time),last_by(s8,time),last_by(s9,time),last_by(s10,time)
from table1 where device_id in ('d01', 'd04', 'd09', 'd12') group by 1,2,3,4
order by 1,2,3,4",
@@ -3871,7 +3871,7 @@ public class IoTDBTableAggregationIT {
expectedHeader,
retArray,
DATABASE_NAME);
- } catch (Exception e) {
+ } catch (Error e) {
// second try
tableResultSetEqualTest(
"select
device_id,date_bin(5s,time),last(time),last_by(s1,time),last_by(s2,time),last_by(s3,time),last_by(s4,time),last_by(s5,time),last_by(s6,time),last_by(s7,time),last_by(s8,time),last_by(s9,time),last_by(s10,time)
from table1 where device_id in ('d01', 'd04', 'd09', 'd12') group by
province,city,region,device_id,date_bin(5s,time) order by
device_id,date_bin(5s,time)",
@@ -3925,7 +3925,7 @@ public class IoTDBTableAggregationIT {
expectedHeader,
retArray,
DATABASE_NAME);
- } catch (Exception e) {
+ } catch (Error e) {
// second try
tableResultSetEqualTest(
"select
province,city,region,last(time),last_by(s1,time),last_by(s2,time),last_by(s3,time),last_by(s4,time),last_by(s5,time),last_by(s6,time),last_by(s7,time),last_by(s8,time),last_by(s9,time),last_by(s10,time)
from table1 where device_id NOT in ('d01', 'd08', 'd12', 'd13') group by 1,2,3
order by 1,2,3",
@@ -3965,7 +3965,7 @@ public class IoTDBTableAggregationIT {
expectedHeader,
retArray,
DATABASE_NAME);
- } catch (Exception e) {
+ } catch (Error e) {
// second try
tableResultSetEqualTest(
"select
province,city,region,last(time),last_by(s1,time),last_by(s2,time),last_by(s3,time),last_by(s4,time),last_by(s5,time),last_by(s6,time),last_by(s7,time),last_by(s8,time),last_by(s9,time),last_by(s10,time)
from table1 where device_id NOT in ('d01', 'd08', 'd12', 'd13') group by 1,2,3
order by 1,2,3",
@@ -4002,7 +4002,7 @@ public class IoTDBTableAggregationIT {
expectedHeader,
retArray,
DATABASE_NAME);
- } catch (Exception e) {
+ } catch (Error e) {
// second try
tableResultSetEqualTest(
"select
province,city,last(time),last_by(s1,time),last_by(s2,time),last_by(s3,time),last_by(s4,time),last_by(s5,time),last_by(s6,time),last_by(s7,time),last_by(s8,time),last_by(s9,time),last_by(s10,time)
from table1 where device_id NOT in ('d01', 'd05', 'd08', 'd09', 'd12', 'd13')
group by 1,2 order by 1,2",
@@ -4038,7 +4038,7 @@ public class IoTDBTableAggregationIT {
expectedHeader,
retArray,
DATABASE_NAME);
- } catch (Exception e) {
+ } catch (Error e) {
// second try
tableResultSetEqualTest(
"select
province,last(time),last_by(s1,time),last_by(s2,time),last_by(s3,time),last_by(s4,time),last_by(s5,time),last_by(s6,time),last_by(s7,time),last_by(s8,time),last_by(s9,time),last_by(s10,time)
from table1 where device_id NOT in ('d01', 'd05', 'd08', 'd09', 'd12', 'd13')
group by 1 order by 1",
@@ -4076,7 +4076,7 @@ public class IoTDBTableAggregationIT {
expectedHeader,
retArray,
DATABASE_NAME);
- } catch (Exception e) {
+ } catch (Error e) {
// second try
tableResultSetEqualTest(
"select device_id,
last(time),last_by(s1,time),last_by(s2,time),last_by(s3,time),last_by(s4,time),last_by(s5,time),last_by(s6,time),last_by(s7,time),last_by(s8,time),last_by(s9,time),last_by(s10,time)
from table1 where city = 'shanghai' and type='A' group by
province,city,region,device_id order by device_id",