Skip to content

Commit eb1602a

Browse files
committed
Update exception type of testSpanByImplicitTimestamp
Signed-off-by: Yuanchun Shen <yuanchu@amazon.com>
1 parent 34694a0 commit eb1602a

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

integ-test/src/test/java/org/opensearch/sql/calcite/remote/CalcitePPLAggregationIT.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,6 @@
2727
import org.junit.jupiter.api.Test;
2828
import org.opensearch.client.Request;
2929
import org.opensearch.sql.common.utils.StringUtils;
30-
import org.opensearch.sql.exception.SemanticCheckException;
3130
import org.opensearch.sql.ppl.PPLIntegTestCase;
3231

3332
public class CalcitePPLAggregationIT extends PPLIntegTestCase {
@@ -742,7 +741,7 @@ public void testSpanByImplicitTimestamp() throws IOException {
742741

743742
Throwable t =
744743
assertThrowsWithReplace(
745-
SemanticCheckException.class,
744+
IllegalArgumentException.class,
746745
() ->
747746
executeQuery(
748747
StringUtils.format(

0 commit comments

Comments
 (0)