@@ -141,7 +141,7 @@ public void testReadNestedColumn() {
141
141
}
142
142
143
143
@ Test (groups = { "unit" })
144
- public void testParse () throws Exception {
144
+ public void testParse () {
145
145
ClickHouseColumn column = ClickHouseColumn .of ("arr" , "Nullable(Array(Nullable(UInt8))" );
146
146
Assert .assertNotNull (column );
147
147
@@ -156,7 +156,7 @@ public void testParse() throws Exception {
156
156
}
157
157
158
158
@ Test (groups = { "unit" })
159
- public void testAggregationFunction () throws Exception {
159
+ public void testAggregationFunction () {
160
160
ClickHouseColumn column = ClickHouseColumn .of ("aggFunc" , "AggregateFunction(groupBitmap, UInt32)" );
161
161
Assert .assertTrue (column .isAggregateFunction ());
162
162
Assert .assertEquals (column .getDataType (), ClickHouseDataType .AggregateFunction );
@@ -178,7 +178,7 @@ public void testAggregationFunction() throws Exception {
178
178
}
179
179
180
180
@ Test (groups = { "unit" })
181
- public void testArray () throws Exception {
181
+ public void testArray () {
182
182
ClickHouseColumn column = ClickHouseColumn .of ("arr" ,
183
183
"Array(Array(Array(Array(Array(Map(LowCardinality(String), Tuple(Array(UInt8),LowCardinality(String))))))))" );
184
184
Assert .assertTrue (column .isArray ());
@@ -204,7 +204,7 @@ public void testArray() throws Exception {
204
204
}
205
205
206
206
@ Test (dataProvider = "enumTypesProvider" , groups = { "unit" })
207
- public void testEnum (String typeName ) throws Exception {
207
+ public void testEnum (String typeName ) {
208
208
Assert .assertThrows (IllegalArgumentException .class ,
209
209
() -> ClickHouseColumn .of ("e" , typeName + "('Query''Start' = a)" ));
210
210
Assert .assertThrows (IllegalArgumentException .class , () -> ClickHouseColumn .of ("e" , typeName + "(aa,1)" ));
@@ -236,7 +236,7 @@ public void testObjectType(String typeName) {
236
236
}
237
237
238
238
@ Test (groups = { "unit" })
239
- public void testSimpleAggregationFunction () throws Exception {
239
+ public void testSimpleAggregationFunction () {
240
240
ClickHouseColumn c = ClickHouseColumn .of ("a" , "SimpleAggregateFunction(max, UInt64)" );
241
241
Assert .assertEquals (c .getDataType (), ClickHouseDataType .SimpleAggregateFunction );
242
242
Assert .assertEquals (c .getNestedColumns ().get (0 ).getDataType (), ClickHouseDataType .UInt64 );
0 commit comments