Skip to content

Commit b516a9e

Browse files
Revert the Special Oracle Tests (accidentally set to FAILURE)
1 parent 260b938 commit b516a9e

Some content is hidden

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

41 files changed

+41
-82
lines changed

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

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,5 +20,4 @@ SELECT STALENESS,
2020
FROM
2121
A
2222

23-
--@SUCCESSFULLY_PARSED_AND_DEPARSED first on Aug 3, 2021, 7:20:07 AM
24-
--@FAILURE: select staleness,osize,obj#,type#,row_number()over(partition by bo# order by staleness,osize,obj#),case when row_number()over(partition by bo# order by staleness,osize,obj#)=1 then 64 else 0 end+case when row_number()over(partition by select tcp0.bo# from tabcompart$ tcp0 where tcp0.obj#=st0.bo# order by staleness,osize,obj#)=1 then 32 else 0 end aflags,0 status,:b5 sid,:b4 serial#,part#,bo#,loc_stale_pct from a recorded first on Sep 7, 2021 7:58:10 AM
23+
--@SUCCESSFULLY_PARSED_AND_DEPARSED first on Aug 3, 2021, 7:20:07 AM

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

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,5 +22,4 @@ and object_id not in ( select purge_object from recyclebin )
2222
and upper(object_name) in upper(:name)
2323

2424

25-
--@SUCCESSFULLY_PARSED_AND_DEPARSED first on Aug 3, 2021, 7:20:08 AM
26-
--@FAILURE: select object_name,object_id,decode(status,'invalid','true','false')invalid,'true' runnable,plsql_debug from sys.dba_objects o,dba_plsql_object_settings s where o.owner=:schema and s.owner=:schema and s.name=o.object_name and s.type='package' and object_type='package' and subobject_name is null and object_id not in select purge_object from recyclebin and upper(object_name)in upper(:name) recorded first on Sep 7, 2021 7:58:09 AM
25+
--@SUCCESSFULLY_PARSED_AND_DEPARSED first on Aug 3, 2021, 7:20:08 AM

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

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,5 +20,4 @@ select staleness
2020
, part#, bo#
2121
from st0
2222

23-
--@SUCCESSFULLY_PARSED_AND_DEPARSED first on Aug 3, 2021, 7:20:08 AM
24-
--@FAILURE: select staleness,osize,obj#,type#,case when row_number()over(partition by bo# order by staleness,osize,obj#)=1 then 64 else 0 end+case when row_number()over(partition by select tcp0.bo# from tabcompart$ tcp0 where tcp0.obj#=st0.bo# order by staleness,osize,obj#)=1 then 32 else 0 end aflags,0 status,:b3 sid,:b2 serial#,part#,bo# from st0 recorded first on Sep 7, 2021 7:58:09 AM
23+
--@SUCCESSFULLY_PARSED_AND_DEPARSED first on Aug 3, 2021, 7:20:08 AM

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

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,5 +15,4 @@ select department_id, last_name, salary
1515
order by department_id
1616

1717

18-
--@SUCCESSFULLY_PARSED_AND_DEPARSED first on Aug 3, 2021, 7:20:08 AM
19-
--@FAILURE: select department_id,last_name,salary from employees x where salary>select avg(salary)from employees where x.department_id=department_id order by department_id recorded first on Sep 7, 2021 7:58:09 AM
18+
--@SUCCESSFULLY_PARSED_AND_DEPARSED first on Aug 3, 2021, 7:20:08 AM

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

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,5 +16,4 @@ select *
1616
and to_yminterval('01-00') + x < sysdate
1717

1818

19-
--@SUCCESSFULLY_PARSED_AND_DEPARSED first on Aug 3, 2021, 7:20:08 AM
20-
--@FAILURE: select*from employees x where salary>select avg(salary)from x and 1=1 and hiredate=sysdate and to_yminterval('01-00')<sysdate and to_yminterval('01-00')+x<sysdate recorded first on Sep 7, 2021 7:58:10 AM
19+
--@SUCCESSFULLY_PARSED_AND_DEPARSED first on Aug 3, 2021, 7:20:08 AM

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

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,5 +18,4 @@ select *
1818
and d=e
1919

2020

21-
--@SUCCESSFULLY_PARSED_AND_DEPARSED first on Aug 3, 2021, 7:20:08 AM
22-
--@FAILURE: select*from employees x where salary>select avg(salary)from x and 1=1 and hiredate=sysdate and to_yminterval('01-00')<sysdate and to_yminterval('01-00')+x<sysdate or a=b and d=e recorded first on Sep 7, 2021 7:58:10 AM
21+
--@SUCCESSFULLY_PARSED_AND_DEPARSED first on Aug 3, 2021, 7:20:08 AM

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

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,5 +24,4 @@ select
2424
(select count(*) from la.sa where bl.id like sa.id) > 0
2525
)
2626

27-
--@SUCCESSFULLY_PARSED_AND_DEPARSED first on Aug 3, 2021, 7:20:08 AM
28-
--@FAILURE: select sum(nvl(pl.qty,0))from oline ol,pline pl,blocation bl where ol.id=pl.id and pl.no=pl.no and bl.id=pl.id and(select count(*)from la.sa where pl.id like sa.bid>0 or select count(*)from la.sa where bl.id like sa.id>0) recorded first on Sep 7, 2021 7:58:10 AM
27+
--@SUCCESSFULLY_PARSED_AND_DEPARSED first on Aug 3, 2021, 7:20:08 AM

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

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,5 +19,4 @@ where
1919
and "timestamp" <= 1298505600000
2020

2121

22-
--@SUCCESSFULLY_PARSED_AND_DEPARSED first on Aug 3, 2021, 7:20:08 AM
23-
--@FAILURE: select*from v.e where cid<>rid and rid not in(select distinct rid from v.s)union(select distinct rid from v.p)and "timestamp"<=1298505600000 recorded first on Sep 7, 2021 7:58:09 AM
22+
--@SUCCESSFULLY_PARSED_AND_DEPARSED first on Aug 3, 2021, 7:20:08 AM

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

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,5 +17,4 @@ from (
1717
select trim(valeur)
1818
from liste
1919

20-
--@SUCCESSFULLY_PARSED_AND_DEPARSED first on Aug 3, 2021, 7:20:07 AM
21-
--@FAILURE: with liste as(select substr(:liste,instr(','||:liste||',',',',1,rn),instr(','||:liste||',',',',1,rn+1)-instr(','||:liste||',',',',1,rn)-1)valeur from select rownum rn from dual connect by level<=length(:liste)-length(replace(:liste,',',''))+1)select trim(valeur)from liste recorded first on Sep 7, 2021 7:58:09 AM
20+
--@SUCCESSFULLY_PARSED_AND_DEPARSED first on Aug 3, 2021, 7:20:07 AM

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

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,5 +12,4 @@ select employee_id from (select * from employees)
1212

1313

1414

15-
--@SUCCESSFULLY_PARSED_AND_DEPARSED first on Aug 3, 2021, 7:20:08 AM
16-
--@FAILURE: select employee_id from select*from employees for update of employee_id recorded first on Sep 7, 2021 7:58:09 AM
15+
--@SUCCESSFULLY_PARSED_AND_DEPARSED first on Aug 3, 2021, 7:20:08 AM

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

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,5 +12,4 @@ select employee_id from (select employee_id+1 as employee_id from employees)
1212

1313

1414

15-
--@SUCCESSFULLY_PARSED_AND_DEPARSED first on Aug 3, 2021, 7:20:08 AM
16-
--@FAILURE: select employee_id from select employee_id+1 as employee_id from employees for update recorded first on Sep 7, 2021 7:58:09 AM
15+
--@SUCCESSFULLY_PARSED_AND_DEPARSED first on Aug 3, 2021, 7:20:08 AM

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

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,5 +12,4 @@ select employee_id from (select employee_id+1 as employee_id from employees)
1212

1313

1414

15-
--@SUCCESSFULLY_PARSED_AND_DEPARSED first on Aug 3, 2021, 7:20:08 AM
16-
--@FAILURE: select employee_id from select employee_id+1 as employee_id from employees for update of employee_id recorded first on Sep 7, 2021 7:58:09 AM
15+
--@SUCCESSFULLY_PARSED_AND_DEPARSED first on Aug 3, 2021, 7:20:08 AM

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

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,5 +11,4 @@ select employee_id from (select employee_id+1 as employee_id from employees)
1111
for update of employee_id nowait
1212

1313

14-
--@SUCCESSFULLY_PARSED_AND_DEPARSED first on Aug 3, 2021, 7:20:08 AM
15-
--@FAILURE: select employee_id from select employee_id+1 as employee_id from employees for update of employee_id nowait recorded first on Sep 7, 2021 7:58:09 AM
14+
--@SUCCESSFULLY_PARSED_AND_DEPARSED first on Aug 3, 2021, 7:20:08 AM

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

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,5 +11,4 @@ select employee_id from (select employee_id+1 as employee_id from employees)
1111
for update of employee_id wait 10
1212

1313

14-
--@SUCCESSFULLY_PARSED_AND_DEPARSED first on Aug 3, 2021, 7:20:08 AM
15-
--@FAILURE: select employee_id from select employee_id+1 as employee_id from employees for update of employee_id wait 10 recorded first on Sep 7, 2021 7:58:09 AM
14+
--@SUCCESSFULLY_PARSED_AND_DEPARSED first on Aug 3, 2021, 7:20:08 AM

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

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,5 +9,4 @@
99
---
1010
select decode(decode(decode( (select count(1) from dual), a, 1, 0), 0, 1), 1, 0) from dual
1111

12-
--@SUCCESSFULLY_PARSED_AND_DEPARSED first on Aug 3, 2021, 7:20:08 AM
13-
--@FAILURE: select decode(decode(decode(select count(1)from dual,a,1,0),0,1),1,0)from dual recorded first on Sep 7, 2021 7:58:09 AM
12+
--@SUCCESSFULLY_PARSED_AND_DEPARSED first on Aug 3, 2021, 7:20:08 AM

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

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,5 +16,4 @@ inner join (select * from dual) using(dummy)
1616
inner join (select * from dual) d on(d.dummy=t1.dummy)
1717

1818

19-
--@SUCCESSFULLY_PARSED_AND_DEPARSED first on Aug 3, 2021, 7:20:08 AM
20-
--@FAILURE: select*from dual t1 join select*from dual tt2 using(dummy)join select*from dual using(dummy)join select*from dual d on(d.dummy=tt3.dummy)inner join select*from dual tt2 using(dummy)inner join select*from dual using(dummy)inner join select*from dual d on(d.dummy=t1.dummy) recorded first on Sep 7, 2021 7:58:09 AM
19+
--@SUCCESSFULLY_PARSED_AND_DEPARSED first on Aug 3, 2021, 7:20:08 AM

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

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,5 +16,4 @@ inner join (select * from dual) using(dummy)
1616
inner join (select * from dual) d on(d.dummy=t1.dummy)
1717

1818

19-
--@SUCCESSFULLY_PARSED_AND_DEPARSED first on Aug 3, 2021, 7:20:08 AM
20-
--@FAILURE: select*from dual t1 left outer join select*from dual tt2 using(dummy)left outer join select*from dual using(dummy)left outer join select*from dual d on(d.dummy=tt3.dummy)inner join select*from dual tt2 using(dummy)inner join select*from dual using(dummy)inner join select*from dual d on(d.dummy=t1.dummy) recorded first on Sep 7, 2021 7:58:09 AM
19+
--@SUCCESSFULLY_PARSED_AND_DEPARSED first on Aug 3, 2021, 7:20:08 AM

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

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,5 +13,4 @@ select * from dual t1,
1313
)
1414

1515

16-
--@SUCCESSFULLY_PARSED_AND_DEPARSED first on Aug 3, 2021, 7:20:08 AM
17-
--@FAILURE: select*from dual t1,(dual left outer join select*from dual tt2 using(dummy)) recorded first on Sep 7, 2021 7:58:09 AM
16+
--@SUCCESSFULLY_PARSED_AND_DEPARSED first on Aug 3, 2021, 7:20:08 AM

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

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,5 +32,4 @@ ALL_IND_EXPRESSIONS ie
3232
where ind.index_name = ie.index_name(+)
3333
and ind.index_owner = ie.index_owner(+)
3434

35-
--@SUCCESSFULLY_PARSED_AND_DEPARSED first on Aug 3, 2021, 7:20:08 AM
36-
--@FAILURE: select ind.index_owner,ind.index_name,ind.uniqueness,ind.status,ind.index_type,ind.temporary,ind.partitioned,ind.funcidx_status,ind.join_index,ind.columns,ie.column_expression,ind.index_name sdev_link_name,'index' sdev_link_type,ind.index_owner sdev_link_owner from select index_owner,table_owner,index_name,uniqueness,status,index_type,temporary,partitioned,funcidx_status,join_index,max(decode(position,1,column_name))||max(decode(position,2,','||column_name))||max(decode(position,3,','||column_name))||max(decode(position,4,','||column_name))||max(decode(position,5,','||column_name))||max(decode(position,6,','||column_name))||max(decode(position,7,','||column_name))||max(decode(position,8,','||column_name))||max(decode(position,9,','||column_name))||max(decode(position,10,','||column_name))columns from select di.owner index_owner,dc.table_owner,dc.index_name,di.uniqueness,di.status,di.index_type,di.temporary,di.partitioned,di.funcidx_status,di.join_index,dc.column_name,dc.column_position position from all_ind_columns dc,all_indexes di where dc.table_owner=:object_owner and dc.table_name=:object_name and dc.index_name=di.index_name and dc.index_owner=di.owner group by index_owner,table_owner,index_name,uniqueness,status,index_type,temporary,partitioned,funcidx_status,join_index ind,all_ind_expressions ie where ind.index_name=ie.index_name(+)and ind.index_owner=ie.index_owner(+) recorded first on Sep 7, 2021 7:58:10 AM
35+
--@SUCCESSFULLY_PARSED_AND_DEPARSED first on Aug 3, 2021, 7:20:08 AM

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

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,5 +20,4 @@ select * from (
2020

2121

2222

23-
--@SUCCESSFULLY_PARSED_AND_DEPARSED first on Aug 3, 2021, 7:20:08 AM
24-
--@FAILURE: select*from select times_purchased as "puchase frequency",state_code from customers t pivot xml(count(state_code)for state_code in(select state_code from preferred_states))order by 1 recorded first on Sep 7, 2021 7:58:10 AM
23+
--@SUCCESSFULLY_PARSED_AND_DEPARSED first on Aug 3, 2021, 7:20:08 AM

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

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,5 +20,4 @@ select * from (
2020

2121

2222

23-
--@SUCCESSFULLY_PARSED_AND_DEPARSED first on Aug 3, 2021, 7:20:08 AM
24-
--@FAILURE: select*from select times_purchased as "purchase frequency",state_code from customers t pivot xml(count(state_code)for state_code in(any))order by 1 recorded first on Sep 7, 2021 7:58:09 AM
23+
--@SUCCESSFULLY_PARSED_AND_DEPARSED first on Aug 3, 2021, 7:20:08 AM

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

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,5 +28,4 @@ from
2828
)
2929

3030

31-
--@SUCCESSFULLY_PARSED_AND_DEPARSED first on Aug 3, 2021, 7:20:08 AM
32-
--@FAILURE: select value from(select 'a' v1,'e' v2,'i' v3,'o' v4,'u' v5 from dual unpivot(value for value_type in(v1,v2,v3,v4,v5))) recorded first on Sep 7, 2021 7:58:09 AM
31+
--@SUCCESSFULLY_PARSED_AND_DEPARSED first on Aug 3, 2021, 7:20:08 AM

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

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,5 +13,4 @@ from (select customer_id, product_code, quantity
1313
pivot xml (sum(quantity) as sum_quantity for product_code in (select distinct product_code
1414
from pivot_test))
1515

16-
--@SUCCESSFULLY_PARSED_AND_DEPARSED first on Aug 3, 2021, 7:20:08 AM
17-
--@FAILURE: select*from select customer_id,product_code,quantity from pivot_test pivot xml(sum(quantity)as sum_quantity for product_code in(select distinct product_code from pivot_test)) recorded first on Sep 7, 2021 7:58:09 AM
16+
--@SUCCESSFULLY_PARSED_AND_DEPARSED first on Aug 3, 2021, 7:20:08 AM

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

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,5 +14,4 @@ pivot xml (sum(quantity) as sum_quantity for product_code in (select distinct pr
1414
from pivot_test
1515
where id < 10))
1616

17-
--@SUCCESSFULLY_PARSED_AND_DEPARSED first on Aug 3, 2021, 7:20:08 AM
18-
--@FAILURE: select*from select product_code,quantity from pivot_test pivot xml(sum(quantity)as sum_quantity for product_code in(select distinct product_code from pivot_test where id<10)) recorded first on Sep 7, 2021 7:58:10 AM
17+
--@SUCCESSFULLY_PARSED_AND_DEPARSED first on Aug 3, 2021, 7:20:08 AM

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

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,5 +13,4 @@ from (select customer_id, product_code, quantity
1313
pivot (sum(quantity) as sum_quantity for product_code in ('a' as a, 'b' as b, 'c' as c))
1414
order by customer_id
1515

16-
--@SUCCESSFULLY_PARSED_AND_DEPARSED first on Aug 3, 2021, 7:20:08 AM
17-
--@FAILURE: select*from select customer_id,product_code,quantity from pivot_test pivot(sum(quantity)as sum_quantity for product_code in('a' as a,'b' as b,'c' as c))order by customer_id recorded first on Sep 7, 2021 7:58:10 AM
16+
--@SUCCESSFULLY_PARSED_AND_DEPARSED first on Aug 3, 2021, 7:20:08 AM

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

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,5 +14,4 @@ from
1414
from pivot_test)
1515
pivot (sum(quantity) as sum_quantity for product_code in ('a' as a, 'b' as b, 'c' as c))
1616
)
17-
--@SUCCESSFULLY_PARSED_AND_DEPARSED first on Jul 21, 2021 10:33:10 AM
18-
--@FAILURE: select value from(select customer_id,product_code,quantity from pivot_test pivot(sum(quantity)as sum_quantity for product_code in('a' as a,'b' as b,'c' as c))) recorded first on Sep 7, 2021 7:58:09 AM
17+
--@SUCCESSFULLY_PARSED_AND_DEPARSED first on Jul 21, 2021 10:33:10 AM

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

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,5 +12,4 @@ from (select product_code, quantity
1212
from pivot_test)
1313
pivot (sum(quantity) as sum_quantity for product_code in ('a' as a, 'b' as b, 'c' as c))
1414

15-
--@SUCCESSFULLY_PARSED_AND_DEPARSED first on Aug 3, 2021, 7:20:07 AM
16-
--@FAILURE: select*from select product_code,quantity from pivot_test pivot(sum(quantity)as sum_quantity for product_code in('a' as a,'b' as b,'c' as c)) recorded first on Sep 7, 2021 7:58:09 AM
15+
--@SUCCESSFULLY_PARSED_AND_DEPARSED first on Aug 3, 2021, 7:20:07 AM

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

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,5 +26,4 @@
2626
)
2727
)
2828

29-
--@SUCCESSFULLY_PARSED_AND_DEPARSED first on Aug 3, 2021, 7:20:08 AM
30-
--@FAILURE: select value from(select 'a' v1,'e' v2,'i' v3,'o' v4,'u' v5 from dual unpivot include nulls(value for value_type in(v1,v2,v3,v4,v5))) recorded first on Sep 7, 2021 7:58:09 AM
29+
--@SUCCESSFULLY_PARSED_AND_DEPARSED first on Aug 3, 2021, 7:20:08 AM

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

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,5 +23,4 @@ select * from dept_costs
2323

2424

2525

26-
--@SUCCESSFULLY_PARSED_AND_DEPARSED first on Aug 3, 2021, 7:20:08 AM
27-
--@FAILURE: with dept_costs as(select department_name,sum(salary)dept_total from employees e,departments d where e.department_id=d.department_id group by department_name),avg_cost as(select sum(dept_total)/count(*)avg from dept_costs)select*from dept_costs where dept_total>select avvg from avg_cost order by department_name recorded first on Sep 7, 2021 7:58:09 AM
26+
--@SUCCESSFULLY_PARSED_AND_DEPARSED first on Aug 3, 2021, 7:20:08 AM

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

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,5 +16,4 @@ from t1, rn
1616
where rn <= cases
1717
order by pname
1818

19-
--@SUCCESSFULLY_PARSED_AND_DEPARSED first on Aug 3, 2021, 7:20:08 AM
20-
--@FAILURE: with rn as(select rownum rn from dual connect by level<=select max(cases)from t1)select pname from t1,rn where rn<=cases order by pname recorded first on Sep 7, 2021 7:58:10 AM
19+
--@SUCCESSFULLY_PARSED_AND_DEPARSED first on Aug 3, 2021, 7:20:08 AM

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

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,5 +10,4 @@
1010
with days as (select (select trunc(sysdate, 'MONTH') from dual) + rownum -1 as d from dual connect by rownum < 31)
1111
select d from days where (trunc(d) - trunc(d,'IW') +1 ) not in (6,7) and d <= last_day(sysdate)
1212

13-
--@SUCCESSFULLY_PARSED_AND_DEPARSED first on Aug 3, 2021, 7:20:07 AM
14-
--@FAILURE: with days as(select select trunc(sysdate,'month')from dual+rownum-1 as d from dual connect by rownum<31)select d from days where(trunc(d)-trunc(d,'iw')+1)not in(6,7)and d<=last_day(sysdate) recorded first on Sep 7, 2021 7:58:10 AM
13+
--@SUCCESSFULLY_PARSED_AND_DEPARSED first on Aug 3, 2021, 7:20:07 AM

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

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,5 +14,4 @@ select nt
1414
from dual
1515
)
1616

17-
--@SUCCESSFULLY_PARSED_AND_DEPARSED first on Aug 3, 2021, 7:20:07 AM
18-
--@FAILURE: select nt,set(nt)as nt_set from select varchar2_ntt('a','b','c','c')as nt from dual recorded first on Sep 7, 2021 7:58:10 AM
17+
--@SUCCESSFULLY_PARSED_AND_DEPARSED first on Aug 3, 2021, 7:20:07 AM

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

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,5 +11,4 @@ select employee_id from (select employee_id+1 as employee_id from employees)
1111
for update
1212

1313

14-
--@SUCCESSFULLY_PARSED_AND_DEPARSED first on Aug 3, 2021, 7:20:08 AM
15-
--@FAILURE: select employee_id from select employee_id+1 as employee_id from employees for update recorded first on Sep 7, 2021 7:58:09 AM
14+
--@SUCCESSFULLY_PARSED_AND_DEPARSED first on Aug 3, 2021, 7:20:08 AM

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

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,5 +11,4 @@ select employee_id from (select employee_id+1 as employee_id from employees)
1111
for update of employee_id
1212

1313

14-
--@SUCCESSFULLY_PARSED_AND_DEPARSED first on Aug 3, 2021, 7:20:08 AM
15-
--@FAILURE: select employee_id from select employee_id+1 as employee_id from employees for update of employee_id recorded first on Sep 7, 2021 7:58:09 AM
14+
--@SUCCESSFULLY_PARSED_AND_DEPARSED first on Aug 3, 2021, 7:20:08 AM

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

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,5 +19,4 @@ select * from
1919
)
2020

2121

22-
--@SUCCESSFULLY_PARSED_AND_DEPARSED first on Aug 3, 2021, 7:20:08 AM
23-
--@FAILURE: select*from(select*from dual unpivot(value for value_type in(dummy))) recorded first on Sep 7, 2021 7:58:09 AM
22+
--@SUCCESSFULLY_PARSED_AND_DEPARSED first on Aug 3, 2021, 7:20:08 AM

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

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,5 +17,4 @@ select * from a
1717
)
1818

1919

20-
--@SUCCESSFULLY_PARSED_AND_DEPARSED first on Aug 3, 2021, 7:20:08 AM
21-
--@FAILURE: select*from select*from a unpivot(value for value_type in(dummy)) recorded first on Sep 7, 2021 7:58:09 AM
20+
--@SUCCESSFULLY_PARSED_AND_DEPARSED first on Aug 3, 2021, 7:20:08 AM

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

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,5 +10,4 @@
1010
select * from (( select * from dual)) a
1111

1212

13-
--@SUCCESSFULLY_PARSED_AND_DEPARSED first on Aug 3, 2021, 7:20:08 AM
14-
--@FAILURE: select*from(select*from dual)a recorded first on Sep 7, 2021 7:58:09 AM
13+
--@SUCCESSFULLY_PARSED_AND_DEPARSED first on Aug 3, 2021, 7:20:08 AM

0 commit comments

Comments
 (0)