@@ -300,18 +300,18 @@ public void testStatsWithoutGroups() {
300300 );
301301 }
302302
303- public void testStatsWithoutAggs () throws Exception {
303+ public void testStatsWithoutAggs () {
304304 assertEquals (
305305 new Aggregate (EMPTY , PROCESSING_CMD_INPUT , Aggregate .AggregateType .STANDARD , List .of (attribute ("a" )), List .of (attribute ("a" ))),
306306 processingCommand ("stats by a" )
307307 );
308308 }
309309
310- public void testStatsWithoutAggsOrGroup () throws Exception {
310+ public void testStatsWithoutAggsOrGroup () {
311311 expectError ("from text | stats" , "At least one aggregation or grouping expression required in [stats]" );
312312 }
313313
314- public void testAggsWithGroupKeyAsAgg () throws Exception {
314+ public void testAggsWithGroupKeyAsAgg () {
315315 var queries = new String [] { """
316316 row a = 1, b = 2
317317 | stats a by a
@@ -332,7 +332,7 @@ public void testAggsWithGroupKeyAsAgg() throws Exception {
332332 }
333333 }
334334
335- public void testStatsWithGroupKeyAndAggFilter () throws Exception {
335+ public void testStatsWithGroupKeyAndAggFilter () {
336336 var a = attribute ("a" );
337337 var f = new UnresolvedFunction (EMPTY , "min" , DEFAULT , List .of (a ));
338338 var filter = new Alias (EMPTY , "min(a) where a > 1" , new FilteredExpression (EMPTY , f , new GreaterThan (EMPTY , a , integer (1 ))));
@@ -342,7 +342,7 @@ public void testStatsWithGroupKeyAndAggFilter() throws Exception {
342342 );
343343 }
344344
345- public void testStatsWithGroupKeyAndMixedAggAndFilter () throws Exception {
345+ public void testStatsWithGroupKeyAndMixedAggAndFilter () {
346346 var a = attribute ("a" );
347347 var min = new UnresolvedFunction (EMPTY , "min" , DEFAULT , List .of (a ));
348348 var max = new UnresolvedFunction (EMPTY , "max" , DEFAULT , List .of (a ));
@@ -377,7 +377,7 @@ public void testStatsWithGroupKeyAndMixedAggAndFilter() throws Exception {
377377 );
378378 }
379379
380- public void testStatsWithoutGroupKeyMixedAggAndFilter () throws Exception {
380+ public void testStatsWithoutGroupKeyMixedAggAndFilter () {
381381 var a = attribute ("a" );
382382 var f = new UnresolvedFunction (EMPTY , "min" , DEFAULT , List .of (a ));
383383 var filter = new Alias (EMPTY , "min(a) where a > 1" , new FilteredExpression (EMPTY , f , new GreaterThan (EMPTY , a , integer (1 ))));
@@ -2109,41 +2109,41 @@ private void assertStringAsLookupIndexPattern(String string, String statement) {
21092109 assertThat (tableName .fold (FoldContext .small ()), equalTo (string ));
21102110 }
21112111
2112- public void testIdPatternUnquoted () throws Exception {
2112+ public void testIdPatternUnquoted () {
21132113 var string = "regularString" ;
21142114 assertThat (breakIntoFragments (string ), contains (string ));
21152115 }
21162116
2117- public void testIdPatternQuoted () throws Exception {
2117+ public void testIdPatternQuoted () {
21182118 var string = "`escaped string`" ;
21192119 assertThat (breakIntoFragments (string ), contains (string ));
21202120 }
21212121
2122- public void testIdPatternQuotedWithDoubleBackticks () throws Exception {
2122+ public void testIdPatternQuotedWithDoubleBackticks () {
21232123 var string = "`escaped``string`" ;
21242124 assertThat (breakIntoFragments (string ), contains (string ));
21252125 }
21262126
2127- public void testIdPatternUnquotedAndQuoted () throws Exception {
2127+ public void testIdPatternUnquotedAndQuoted () {
21282128 var string = "this`is`a`mix`of`ids`" ;
21292129 assertThat (breakIntoFragments (string ), contains ("this" , "`is`" , "a" , "`mix`" , "of" , "`ids`" ));
21302130 }
21312131
2132- public void testIdPatternQuotedTraling () throws Exception {
2132+ public void testIdPatternQuotedTrailing () {
21332133 var string = "`foo`*" ;
21342134 assertThat (breakIntoFragments (string ), contains ("`foo`" , "*" ));
21352135 }
21362136
2137- public void testIdPatternWithDoubleQuotedStrings () throws Exception {
2137+ public void testIdPatternWithDoubleQuotedStrings () {
21382138 var string = "`this``is`a`quoted `` string``with`backticks" ;
21392139 assertThat (breakIntoFragments (string ), contains ("`this``is`" , "a" , "`quoted `` string``with`" , "backticks" ));
21402140 }
21412141
2142- public void testSpaceNotAllowedInIdPattern () throws Exception {
2142+ public void testSpaceNotAllowedInIdPattern () {
21432143 expectError ("ROW a = 1| RENAME a AS this is `not okay`" , "mismatched input 'is' expecting {<EOF>, '|', ',', '.'}" );
21442144 }
21452145
2146- public void testSpaceNotAllowedInIdPatternKeep () throws Exception {
2146+ public void testSpaceNotAllowedInIdPatternKeep () {
21472147 expectError ("ROW a = 1, b = 1| KEEP a b" , "extraneous input 'b'" );
21482148 }
21492149
0 commit comments