Skip to content

Commit 1118527

Browse files
Update iotdb-core/datanode/src/test/java/org/apache/iotdb/db/queryengine/plan/relational/sql/ast/SqlParserErrorHandlerTest.java
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
1 parent f535929 commit 1118527

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

iotdb-core/datanode/src/test/java/org/apache/iotdb/db/queryengine/plan/relational/sql/ast/SqlParserErrorHandlerTest.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,7 @@ public void testParseLimitOffsetError() {
4747
() -> {
4848
try {
4949
sqlParser.createStatement(sql, ZoneId.systemDefault(), null);
50+
fail("Expected ParsingException to be thrown");
5051
} catch (ParsingException e) {
5152
assertTrue(e.getMessage().contains("mismatched input 'limit1'"));
5253
}

0 commit comments

Comments
 (0)