Skip to content

Commit a6d5cee

Browse files
test: updated error codes on failing test samples
Signed-off-by: Andreas Reichel <andreas@manticore-projects.com>
1 parent 36d288c commit a6d5cee

56 files changed

Lines changed: 112 additions & 56 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

src/test/resources/net/sf/jsqlparser/statement/select/oracle-tests/analytic_query02.sql

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,4 +21,5 @@ select time_id, product
2121

2222
--@FAILURE: Encountered unexpected token: "(" "(" recorded first on Aug 3, 2021, 7:20:07 AM
2323
--@FAILURE: Encountered unexpected token: "by" "BY" recorded first on Apr 6, 2024, 7:38:53 AM
24-
--@FAILURE: Encountered: <K_BY> / "by", at line 14, column 39, in lexical state DEFAULT. recorded first on 23 May 2025, 22:04:10
24+
--@FAILURE: Encountered: <K_BY> / "by", at line 14, column 39, in lexical state DEFAULT. recorded first on 23 May 2025, 22:04:10
25+
--@FAILURE: --- recorded first on 11 Apr 2026, 22:18:19

src/test/resources/net/sf/jsqlparser/statement/select/oracle-tests/analytic_query03.sql

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,4 +17,5 @@ select times.time_id, product, quantity from inventory
1717

1818

1919
--@FAILURE: Encountered unexpected token: "by" "BY" recorded first on Aug 3, 2021, 7:20:08 AM
20-
--@FAILURE: Encountered: <K_BY> / "by", at line 11, column 14, in lexical state DEFAULT. recorded first on 23 May 2025, 22:04:10
20+
--@FAILURE: Encountered: <K_BY> / "by", at line 11, column 14, in lexical state DEFAULT. recorded first on 23 May 2025, 22:04:10
21+
--@FAILURE: --- recorded first on 11 Apr 2026, 22:18:19

src/test/resources/net/sf/jsqlparser/statement/select/oracle-tests/bindvar03.sql

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,4 +28,5 @@ where scn > :2
2828

2929
--@FAILURE: Encountered unexpected token: "group" "GROUP" recorded first on Aug 3, 2021, 7:20:08 AM
3030
--@FAILURE: Encountered unexpected token: "minus" "MINUS" recorded first on Mar 25, 2023, 9:30:55 AM
31-
--@FAILURE: Encountered: <K_GROUP> / "group", at line 25, column 2, in lexical state DEFAULT. recorded first on 23 May 2025, 22:04:10
31+
--@FAILURE: Encountered: <K_GROUP> / "group", at line 25, column 2, in lexical state DEFAULT. recorded first on 23 May 2025, 22:04:10
32+
--@FAILURE: --- recorded first on 11 Apr 2026, 22:18:19

src/test/resources/net/sf/jsqlparser/statement/select/oracle-tests/bindvar04.sql

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,4 +17,5 @@ from
1717

1818
--@FAILURE: Encountered unexpected token: "(" "(" recorded first on Aug 3, 2021, 7:20:08 AM
1919
--@FAILURE: Encountered: "(" / "(", at line 15, column 41, in lexical state DEFAULT. recorded first on 23 May 2025, 22:04:10
20-
--@FAILURE: Encountered: <OPENING_BRACKET> / "(", at line 15, column 41, in lexical state DEFAULT. recorded first on 9 Jul 2025, 17:09:17
20+
--@FAILURE: Encountered: <OPENING_BRACKET> / "(", at line 15, column 41, in lexical state DEFAULT. recorded first on 9 Jul 2025, 17:09:17
21+
--@FAILURE: --- recorded first on 11 Apr 2026, 22:18:19

src/test/resources/net/sf/jsqlparser/statement/select/oracle-tests/cast_multiset09.sql

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,4 +11,5 @@ update customers_demo
1111
set cust_address_ntab = cust_address_ntab multiset union cust_address_ntab
1212

1313
--@FAILURE: Encountered unexpected token: "multiset" <S_IDENTIFIER> recorded first on Aug 3, 2021, 7:20:08 AM
14-
--@FAILURE: Encountered: <S_IDENTIFIER> / "multiset", at line 11, column 43, in lexical state DEFAULT. recorded first on 23 May 2025, 22:04:10
14+
--@FAILURE: Encountered: <S_IDENTIFIER> / "multiset", at line 11, column 43, in lexical state DEFAULT. recorded first on 23 May 2025, 22:04:10
15+
--@FAILURE: --- recorded first on 11 Apr 2026, 22:18:19

src/test/resources/net/sf/jsqlparser/statement/select/oracle-tests/cast_multiset13.sql

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,4 +14,5 @@ from customers_demo
1414
--@FAILURE: Encountered unexpected token: "except" "EXCEPT" recorded first on Aug 3, 2021, 7:20:08 AM
1515
--@FAILURE: Encountered unexpected token: "distinct" "DISTINCT" recorded first on Mar 25, 2023, 9:18:30 AM
1616
--@FAILURE: Encountered unexpected token: "cust_address2_ntab" <S_IDENTIFIER> recorded first on Feb 8, 2025, 6:46:21 AM
17-
--@FAILURE: Encountered: <S_IDENTIFIER> / "cust_address2_ntab", at line 11, column 26, in lexical state DEFAULT. recorded first on 15 May 2025, 16:24:08
17+
--@FAILURE: Encountered: <S_IDENTIFIER> / "cust_address2_ntab", at line 11, column 26, in lexical state DEFAULT. recorded first on 15 May 2025, 16:24:08
18+
--@FAILURE: --- recorded first on 11 Apr 2026, 22:18:19

src/test/resources/net/sf/jsqlparser/statement/select/oracle-tests/cast_multiset14.sql

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,4 +15,5 @@ order by customer_id
1515
--@FAILURE: Encountered unexpected token: "intersect" "INTERSECT" recorded first on Aug 3, 2021, 7:20:08 AM
1616
--@FAILURE: Encountered unexpected token: "all" "ALL" recorded first on Mar 25, 2023, 9:18:30 AM
1717
--@FAILURE: Encountered unexpected token: "cust_address2_ntab" <S_IDENTIFIER> recorded first on Feb 8, 2025, 6:46:21 AM
18-
--@FAILURE: Encountered: <S_IDENTIFIER> / "cust_address2_ntab", at line 11, column 24, in lexical state DEFAULT. recorded first on 15 May 2025, 16:24:08
18+
--@FAILURE: Encountered: <S_IDENTIFIER> / "cust_address2_ntab", at line 11, column 24, in lexical state DEFAULT. recorded first on 15 May 2025, 16:24:08
19+
--@FAILURE: --- recorded first on 11 Apr 2026, 22:18:19

src/test/resources/net/sf/jsqlparser/statement/select/oracle-tests/cast_multiset15.sql

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,4 +14,5 @@ order by customer_id
1414

1515
--@FAILURE: Encountered unexpected token: "union" "UNION" recorded first on Aug 3, 2021, 7:20:08 AM
1616
--@FAILURE: Encountered unexpected token: "cust_address2_ntab" <S_IDENTIFIER> recorded first on Mar 25, 2023, 9:18:30 AM
17-
--@FAILURE: Encountered: <K_UNION> / "union", at line 11, column 10, in lexical state DEFAULT. recorded first on 15 May 2025, 16:24:08
17+
--@FAILURE: Encountered: <K_UNION> / "union", at line 11, column 10, in lexical state DEFAULT. recorded first on 15 May 2025, 16:24:08
18+
--@FAILURE: --- recorded first on 11 Apr 2026, 22:18:19

src/test/resources/net/sf/jsqlparser/statement/select/oracle-tests/cast_multiset34.sql

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,4 +18,5 @@ select deptno
1818

1919
--@FAILURE: Encountered unexpected token: "varchar2_ntt" <S_IDENTIFIER> recorded first on Aug 3, 2021, 7:20:08 AM
2020
--@FAILURE: Encountered unexpected token: "union" "UNION" recorded first on Feb 13, 2025, 10:16:06 AM
21-
--@FAILURE: Encountered: <S_IDENTIFIER> / "varchar2_ntt", at line 14, column 42, in lexical state DEFAULT. recorded first on 15 May 2025, 16:24:08
21+
--@FAILURE: Encountered: <S_IDENTIFIER> / "varchar2_ntt", at line 14, column 42, in lexical state DEFAULT. recorded first on 15 May 2025, 16:24:08
22+
--@FAILURE: --- recorded first on 11 Apr 2026, 22:18:19

src/test/resources/net/sf/jsqlparser/statement/select/oracle-tests/cast_multiset37.sql

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,4 +20,5 @@ select owner
2020

2121
--@FAILURE: Encountered unexpected token: "varchar2_ntt" <S_IDENTIFIER> recorded first on Aug 3, 2021, 7:20:08 AM
2222
--@FAILURE: Encountered unexpected token: "union" "UNION" recorded first on Feb 13, 2025, 10:16:06 AM
23-
--@FAILURE: Encountered: <S_IDENTIFIER> / "varchar2_ntt", at line 15, column 42, in lexical state DEFAULT. recorded first on 15 May 2025, 16:24:08
23+
--@FAILURE: Encountered: <S_IDENTIFIER> / "varchar2_ntt", at line 15, column 42, in lexical state DEFAULT. recorded first on 15 May 2025, 16:24:08
24+
--@FAILURE: --- recorded first on 11 Apr 2026, 22:18:19

0 commit comments

Comments
 (0)