Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
19 commits
Select commit Hold shift + click to select a range
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Revert unintended changes of the test resources
  • Loading branch information
manticore-projects committed Apr 24, 2022
commit 04e9b6e20232076ad80e78fd687033f7cb45cd3f
Original file line number Diff line number Diff line change
Expand Up @@ -19,5 +19,4 @@ select time_id, product



--@FAILURE: Encountered unexpected token: "(" "(" recorded first on Aug 3, 2021, 7:20:07 AM
--@FAILURE: select time_id,product,last_value(quantity ignore nulls)over(partition by product order by time_id)quantity,last_value recorded first on 23 Apr 2022, 16:44:21
--@FAILURE: Encountered unexpected token: "(" "(" recorded first on Aug 3, 2021, 7:20:07 AM
Original file line number Diff line number Diff line change
Expand Up @@ -16,5 +16,4 @@ select times.time_id, product, quantity from inventory



--@FAILURE: Encountered unexpected token: "by" "BY" recorded first on Aug 3, 2021, 7:20:08 AM
--@FAILURE: select times.time_id,product,quantity from inventory partition recorded first on 23 Apr 2022, 16:44:21
--@FAILURE: Encountered unexpected token: "by" "BY" recorded first on Aug 3, 2021, 7:20:08 AM
Original file line number Diff line number Diff line change
Expand Up @@ -10,5 +10,4 @@
update customers_demo
set cust_address_ntab = cust_address_ntab multiset union cust_address_ntab

--@FAILURE: Encountered unexpected token: "multiset" <S_IDENTIFIER> recorded first on Aug 3, 2021, 7:20:08 AM
--@FAILURE: update customers_demo set cust_address_ntab=cust_address_ntab recorded first on 23 Apr 2022, 16:44:21
--@FAILURE: Encountered unexpected token: "multiset" <S_IDENTIFIER> recorded first on Aug 3, 2021, 7:20:08 AM
Original file line number Diff line number Diff line change
Expand Up @@ -11,5 +11,4 @@ select customer_id, cust_address_ntab
multiset except distinct cust_address2_ntab multiset_except
from customers_demo

--@FAILURE: Encountered unexpected token: "except" "EXCEPT" recorded first on Aug 3, 2021, 7:20:08 AM
--@FAILURE: select customer_id,cust_address_ntab multiset recorded first on 23 Apr 2022, 16:44:21
--@FAILURE: Encountered unexpected token: "except" "EXCEPT" recorded first on Aug 3, 2021, 7:20:08 AM
Original file line number Diff line number Diff line change
Expand Up @@ -12,5 +12,4 @@ multiset intersect all cust_address2_ntab multiset_intersect
from customers_demo
order by customer_id

--@FAILURE: Encountered unexpected token: "intersect" "INTERSECT" recorded first on Aug 3, 2021, 7:20:08 AM
--@FAILURE: select customer_id,cust_address_ntab multiset recorded first on 23 Apr 2022, 16:44:21
--@FAILURE: Encountered unexpected token: "intersect" "INTERSECT" recorded first on Aug 3, 2021, 7:20:08 AM
Original file line number Diff line number Diff line change
Expand Up @@ -12,5 +12,4 @@ multiset union cust_address2_ntab multiset_union
from customers_demo
order by customer_id

--@FAILURE: Encountered unexpected token: "union" "UNION" recorded first on Aug 3, 2021, 7:20:08 AM
--@FAILURE: select customer_id,cust_address_ntab multiset recorded first on 23 Apr 2022, 16:44:21
--@FAILURE: Encountered unexpected token: "union" "UNION" recorded first on Aug 3, 2021, 7:20:08 AM
Original file line number Diff line number Diff line change
Expand Up @@ -12,5 +12,4 @@ select *
multiset union distinct
varchar2_ntt('b','c','d') )

--@FAILURE: Encountered unexpected token: "(" "(" recorded first on Aug 3, 2021, 7:20:08 AM
--@FAILURE: select*from table recorded first on 23 Apr 2022, 16:44:21
--@FAILURE: Encountered unexpected token: "(" "(" recorded first on Aug 3, 2021, 7:20:08 AM
Original file line number Diff line number Diff line change
Expand Up @@ -12,5 +12,4 @@ select varchar2_ntt('a','b','c')
varchar2_ntt('b','c','d') as multiset_except
from dual

--@FAILURE: Encountered unexpected token: "except" "EXCEPT" recorded first on Aug 3, 2021, 7:20:08 AM
--@FAILURE: select varchar2_ntt('a','b','c')multiset recorded first on 23 Apr 2022, 16:44:21
--@FAILURE: Encountered unexpected token: "except" "EXCEPT" recorded first on Aug 3, 2021, 7:20:08 AM
Original file line number Diff line number Diff line change
Expand Up @@ -22,5 +22,4 @@ and t1.sid(+)=t2.sid
and ( ( t1.scode like 'mmm' and t2.scode like 'xax' ) )


--@FAILURE: Encountered unexpected token: "(" "(" recorded first on Aug 3, 2021, 7:20:08 AM
--@FAILURE: select*from t1,t2 where(trunc(t1.timestamp)between to_date('110226','yymmdd')and to_date('110326','yymmdd'))and t1.code(+)='cn' and t1.id(+)=t2.id and t1.cid=t2.cid and t1.mid=1245714070376993504 and t1.tmst>=to_date('110226','yymmdd')and shipper.alt_party_code recorded first on 23 Apr 2022, 16:44:21
--@FAILURE: Encountered unexpected token: "(" "(" recorded first on Aug 3, 2021, 7:20:08 AM
Original file line number Diff line number Diff line change
Expand Up @@ -15,5 +15,4 @@ and nvl(X.cid, '^') = nvl(Y.clientid (+), '^')
and 0 = Lib.SKU(X.sid, nvl(Z.cid, '^'))


--@FAILURE: Encountered unexpected token: "(" "(" recorded first on Aug 3, 2021, 7:20:08 AM
--@FAILURE: select distinct x from x,y,z where x.id=z.id(+)and nvl(x.cid,'^')=nvl recorded first on 23 Apr 2022, 16:44:21
--@FAILURE: Encountered unexpected token: "(" "(" recorded first on Aug 3, 2021, 7:20:08 AM
Original file line number Diff line number Diff line change
Expand Up @@ -11,5 +11,4 @@ select * from persons p
where value(p) is of type(only employee_t)


--@FAILURE: Encountered unexpected token: "is" "IS" recorded first on Aug 3, 2021, 7:20:08 AM
--@FAILURE: select*from persons p where value(p) recorded first on 23 Apr 2022, 16:44:21
--@FAILURE: Encountered unexpected token: "is" "IS" recorded first on Aug 3, 2021, 7:20:08 AM
Original file line number Diff line number Diff line change
Expand Up @@ -10,5 +10,4 @@
delete from table_name
where current of cursor_name

--@FAILURE: Encountered unexpected token: "of" "OF" recorded first on Aug 3, 2021, 7:20:08 AM
--@FAILURE: delete from table_name where current recorded first on 23 Apr 2022, 16:44:21
--@FAILURE: Encountered unexpected token: "of" "OF" recorded first on Aug 3, 2021, 7:20:08 AM
Original file line number Diff line number Diff line change
Expand Up @@ -12,5 +12,4 @@ set c1 = 'x'
where current of c_cur1


--@FAILURE: Encountered unexpected token: "of" "OF" recorded first on Aug 3, 2021, 7:20:08 AM
--@FAILURE: update tab1 set c1='x' where current recorded first on 23 Apr 2022, 16:44:21
--@FAILURE: Encountered unexpected token: "of" "OF" recorded first on Aug 3, 2021, 7:20:08 AM
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,4 @@
---
select value(p$) from "XDB"."XDB$SCHEMA" as of snapshot(:2) p$ where SYS_NC_OID$ = :1

--@FAILURE: Encountered unexpected token: "snapshot" <S_IDENTIFIER> recorded first on Aug 3, 2021, 7:20:08 AM
--@FAILURE: select value(p$)from "xdb"."xdb$schema" as of recorded first on 23 Apr 2022, 16:44:21
--@FAILURE: Encountered unexpected token: "snapshot" <S_IDENTIFIER> recorded first on Aug 3, 2021, 7:20:08 AM
Original file line number Diff line number Diff line change
Expand Up @@ -11,5 +11,4 @@ select employee_id from (select employee_id+1 as employee_id from employees)
for update of employee_id skip locked


--@FAILURE: Encountered unexpected token: "skip" "SKIP" recorded first on Aug 3, 2021, 7:20:08 AM
--@FAILURE: select employee_id from(select employee_id+1 as employee_id from employees)for update of employee_id recorded first on 23 Apr 2022, 16:44:21
--@FAILURE: Encountered unexpected token: "skip" "SKIP" recorded first on Aug 3, 2021, 7:20:08 AM
Original file line number Diff line number Diff line change
Expand Up @@ -11,5 +11,4 @@ select employee_id from (select employee_id+1 as employee_id from employees)
for update of a, b.c, d skip locked


--@FAILURE: Encountered unexpected token: "," "," recorded first on Aug 3, 2021, 7:20:08 AM
--@FAILURE: select employee_id from(select employee_id+1 as employee_id from employees)for update of a recorded first on 23 Apr 2022, 16:44:21
--@FAILURE: Encountered unexpected token: "," "," recorded first on Aug 3, 2021, 7:20:08 AM
Original file line number Diff line number Diff line change
Expand Up @@ -12,5 +12,4 @@ from dual



--@FAILURE: Encountered unexpected token: "(" "(" recorded first on Aug 3, 2021, 7:20:08 AM
--@FAILURE: select trim recorded first on 23 Apr 2022, 16:44:21
--@FAILURE: Encountered unexpected token: "(" "(" recorded first on Aug 3, 2021, 7:20:08 AM
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,4 @@
---
select lnnvl( 2 > 1) from dual

--@SUCCESSFULLY_PARSED_AND_DEPARSED first on Aug 3, 2021, 7:20:08 AM
--@FAILURE: select lnnvl recorded first on 23 Apr 2022, 16:44:21
--@SUCCESSFULLY_PARSED_AND_DEPARSED first on Aug 3, 2021, 7:20:08 AM
Original file line number Diff line number Diff line change
Expand Up @@ -11,5 +11,4 @@ select count(*)
from employees
where lnnvl(commission_pct >= .2)

--@SUCCESSFULLY_PARSED_AND_DEPARSED first on Aug 3, 2021, 7:20:08 AM
--@FAILURE: select count(*)from employees where lnnvl recorded first on 23 Apr 2022, 16:44:21
--@SUCCESSFULLY_PARSED_AND_DEPARSED first on Aug 3, 2021, 7:20:08 AM
Original file line number Diff line number Diff line change
Expand Up @@ -15,5 +15,4 @@ select cust_gender, count(*) as cnt, round(avg(age)) as avg_age
order by cust_gender


--@FAILURE: Encountered unexpected token: "(" "(" recorded first on Aug 3, 2021, 7:20:08 AM
--@FAILURE: select cust_gender,count(*)as cnt,round(avg(age))as avg_age from mining_data_apply_v where prediction recorded first on 23 Apr 2022, 16:44:21
--@FAILURE: Encountered unexpected token: "(" "(" recorded first on Aug 3, 2021, 7:20:08 AM
Original file line number Diff line number Diff line change
Expand Up @@ -16,5 +16,4 @@ where tt='500'
group by tn, ui, (tt || tc)
order by 1

--@FAILURE: Encountered unexpected token: "group" "GROUP" recorded first on Aug 3, 2021, 7:20:08 AM
--@FAILURE: select decode((tt||tc),'56',count(distinct cn),'57',sum(nu))as q from t where tt='500' and tc in('6','7')and to_char(c,'mm')='03' having sum(nu)>0 recorded first on 23 Apr 2022, 16:44:21
--@FAILURE: Encountered unexpected token: "group" "GROUP" recorded first on Aug 3, 2021, 7:20:08 AM
Original file line number Diff line number Diff line change
Expand Up @@ -17,5 +17,4 @@ from dimension_tab
group by grouping sets(fact_1_id, fact_2_id), grouping sets(fact_3_id, fact_4_id)
order by fact_1_id, fact_2_id, fact_3_id, fact_4_id

--@FAILURE: Encountered unexpected token: "," "," recorded first on Aug 3, 2021, 7:20:08 AM
--@FAILURE: select fact_1_id,fact_2_id,fact_3_id,fact_4_id,sum(sales_value)as sales_value,grouping_id(fact_1_id,fact_2_id,fact_3_id,fact_4_id)as grouping_id from dimension_tab group by grouping sets(fact_1_id,fact_2_id) recorded first on 23 Apr 2022, 16:44:21
--@FAILURE: Encountered unexpected token: "," "," recorded first on Aug 3, 2021, 7:20:08 AM
Original file line number Diff line number Diff line change
Expand Up @@ -14,5 +14,4 @@
returning empno
into x

--@FAILURE: Encountered unexpected token: "into" "INTO" recorded first on Aug 3, 2021, 7:20:08 AM
--@FAILURE: insert into emp(empno,ename)values(seq_emp.nextval,'morgan')returning empno recorded first on 23 Apr 2022, 16:44:21
--@FAILURE: Encountered unexpected token: "into" "INTO" recorded first on Aug 3, 2021, 7:20:08 AM
Original file line number Diff line number Diff line change
Expand Up @@ -14,5 +14,4 @@
returning rowid
into r

--@FAILURE: Encountered unexpected token: "into" "INTO" recorded first on Aug 3, 2021, 7:20:08 AM
--@FAILURE: insert into emp(empno,ename)values(seq_emp.nextval,'morgan')returning rowid recorded first on 23 Apr 2022, 16:44:21
--@FAILURE: Encountered unexpected token: "into" "INTO" recorded first on Aug 3, 2021, 7:20:08 AM
Original file line number Diff line number Diff line change
Expand Up @@ -10,5 +10,4 @@
select (systimestamp - order_date) day(9) to second from orders
where order_id = 2458

--@FAILURE: Encountered unexpected token: "(" "(" recorded first on Aug 3, 2021, 7:20:08 AM
--@FAILURE: select(systimestamp-order_date)day recorded first on 23 Apr 2022, 16:44:21
--@FAILURE: Encountered unexpected token: "(" "(" recorded first on Aug 3, 2021, 7:20:08 AM
Original file line number Diff line number Diff line change
Expand Up @@ -25,5 +25,4 @@ select
,interval :a day
from dual

--@FAILURE: Encountered unexpected token: "second" <K_DATE_LITERAL> recorded first on Aug 3, 2021, 7:20:08 AM
--@FAILURE: select interval '4 5:12:10.222' day to recorded first on 23 Apr 2022, 16:44:21
--@FAILURE: Encountered unexpected token: "second" <K_DATE_LITERAL> recorded first on Aug 3, 2021, 7:20:08 AM
Original file line number Diff line number Diff line change
Expand Up @@ -10,5 +10,4 @@
-- see metalink note 1056382.1
select 'yes' from dual where (sysdate-5,sysdate) overlaps (sysdate-2,sysdate-1)

--@FAILURE: Encountered unexpected token: "overlaps" <S_IDENTIFIER> recorded first on Aug 3, 2021, 7:20:08 AM
--@FAILURE: select 'yes' from dual where(sysdate-5,sysdate) recorded first on 23 Apr 2022, 16:44:21
--@FAILURE: Encountered unexpected token: "overlaps" <S_IDENTIFIER> recorded first on Aug 3, 2021, 7:20:08 AM
Original file line number Diff line number Diff line change
Expand Up @@ -16,5 +16,4 @@ select times.time_id, product, quantity from inventory



--@FAILURE: Encountered unexpected token: "by" "BY" recorded first on Aug 3, 2021, 7:20:07 AM
--@FAILURE: select times.time_id,product,quantity from inventory partition recorded first on 23 Apr 2022, 16:44:21
--@FAILURE: Encountered unexpected token: "by" "BY" recorded first on Aug 3, 2021, 7:20:07 AM
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,4 @@ begin
bulk collect into :empnos;
end;

--@FAILURE: Encountered unexpected token: "begin" "BEGIN" recorded first on Aug 3, 2021, 7:20:08 AM
--@FAILURE: begin forall i in indices of:jobs update emp set ename=lower(ename)where job=:jobs(i)returning empno bulk collect into:empnos ; end ; recorded first on 23 Apr 2022, 15:05:41
--@FAILURE: forall i in indices of:jobs update emp set ename=lower(ename)where job=:jobs(i)returning empno bulk collect into:empnos ; end ; recorded first on 23 Apr 2022, 15:48:28
--@FAILURE: Encountered unexpected token: "end" "END" recorded first on 23 Apr 2022, 16:09:20
--@FAILURE: Encountered unexpected token: ";" ";" recorded first on 23 Apr 2022, 23:14:35
--@FAILURE: Encountered unexpected token: "begin" "BEGIN" recorded first on Aug 3, 2021, 7:20:08 AM
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,4 @@ BEGIN
END LOOP outer_loop;
END;

--@FAILURE: Encountered unexpected token: "BEGIN" "BEGIN" recorded first on Aug 3, 2021, 7:20:07 AM
--@FAILURE: begin<<outer_loop>>for i in 1. .3 loop<<inner_loop>>for i in 1. .3 loop if outer_loop . i=2 then dbms_output . put_line('outer:'||to_char(outer_loop . i)||' inner:'||to_char(inner_loop . i)); end if ; end loop inner_loop ; end loop outer_loop ; end ; recorded first on 23 Apr 2022, 15:05:41
--@FAILURE: <<outer_loop>>for i in 1. .3 loop<<inner_loop>>for i in 1. .3 loop if outer_loop . i=2 then dbms_output . put_line('outer:'||to_char(outer_loop . i)||' inner:'||to_char(inner_loop . i)); end if ; end loop inner_loop ; end loop outer_loop ; end ; recorded first on 23 Apr 2022, 15:48:28
--@FAILURE: Encountered unexpected token: "END" "END" recorded first on 23 Apr 2022, 16:09:20
--@FAILURE: Encountered unexpected token: ";" ";" recorded first on 23 Apr 2022, 23:14:35
--@FAILURE: Encountered unexpected token: "BEGIN" "BEGIN" recorded first on Aug 3, 2021, 7:20:07 AM
Original file line number Diff line number Diff line change
Expand Up @@ -26,5 +26,4 @@ order by country, prod, year



--@FAILURE: Encountered unexpected token: "partition" "PARTITION" recorded first on Aug 3, 2021, 7:20:08 AM
--@FAILURE: select country,prod,year,s from sales_view_ref model recorded first on 23 Apr 2022, 16:44:21
--@FAILURE: Encountered unexpected token: "partition" "PARTITION" recorded first on Aug 3, 2021, 7:20:08 AM
Original file line number Diff line number Diff line change
Expand Up @@ -24,5 +24,4 @@ select country, year, sale, csum



--@FAILURE: Encountered unexpected token: "dimension" <S_IDENTIFIER> recorded first on Aug 3, 2021, 7:20:08 AM
--@FAILURE: select country,year,sale,csum from(select country,year,sum(sale)sale from sales_view_ref group by country,year)model recorded first on 23 Apr 2022, 16:44:21
--@FAILURE: Encountered unexpected token: "dimension" <S_IDENTIFIER> recorded first on Aug 3, 2021, 7:20:08 AM
Original file line number Diff line number Diff line change
Expand Up @@ -23,5 +23,4 @@ select country,prod,year,s
order by country, prod, year


--@FAILURE: Encountered unexpected token: "partition" "PARTITION" recorded first on Aug 3, 2021, 7:20:08 AM
--@FAILURE: select country,prod,year,s from sales_view_ref model recorded first on 23 Apr 2022, 16:44:21
--@FAILURE: Encountered unexpected token: "partition" "PARTITION" recorded first on Aug 3, 2021, 7:20:08 AM
Original file line number Diff line number Diff line change
Expand Up @@ -23,5 +23,4 @@ select country, year, sale, csum



--@FAILURE: Encountered unexpected token: "dimension" <S_IDENTIFIER> recorded first on Aug 3, 2021, 7:20:08 AM
--@FAILURE: select country,year,sale,csum from(select country,year,salex sale from sales_view_ref group by country,year)model recorded first on 23 Apr 2022, 16:44:21
--@FAILURE: Encountered unexpected token: "dimension" <S_IDENTIFIER> recorded first on Aug 3, 2021, 7:20:08 AM
Original file line number Diff line number Diff line change
Expand Up @@ -22,5 +22,4 @@ select country, year, sale, csum
order by country, year


--@FAILURE: Encountered unexpected token: "model" <S_IDENTIFIER> recorded first on Aug 3, 2021, 7:20:08 AM
--@FAILURE: select country,year,sale,csum from(select country,year,salex sale from sales_view_ref group by country,year)m recorded first on 23 Apr 2022, 16:44:21
--@FAILURE: Encountered unexpected token: "model" <S_IDENTIFIER> recorded first on Aug 3, 2021, 7:20:08 AM
Original file line number Diff line number Diff line change
Expand Up @@ -19,5 +19,4 @@ model
measures ( ( select dummy from dual ) as dummy )
rules ( )

--@FAILURE: Encountered unexpected token: "model" <S_IDENTIFIER> recorded first on Aug 3, 2021, 7:20:08 AM
--@FAILURE: select key,dummy from t where key=1 recorded first on 23 Apr 2022, 16:44:21
--@FAILURE: Encountered unexpected token: "model" <S_IDENTIFIER> recorded first on Aug 3, 2021, 7:20:08 AM
Original file line number Diff line number Diff line change
Expand Up @@ -20,5 +20,4 @@ model unique single reference
order by
group_2

--@FAILURE: Encountered unexpected token: "unique" "UNIQUE" recorded first on Aug 3, 2021, 7:20:08 AM
--@FAILURE: select group_2,num_val,m_1 from t model recorded first on 23 Apr 2022, 16:44:21
--@FAILURE: Encountered unexpected token: "unique" "UNIQUE" recorded first on Aug 3, 2021, 7:20:08 AM
Original file line number Diff line number Diff line change
Expand Up @@ -20,5 +20,4 @@ model
order by
key

--@FAILURE: Encountered unexpected token: "dimension" <S_IDENTIFIER> recorded first on Aug 3, 2021, 7:20:07 AM
--@FAILURE: select key,num_val,m_1 from t model recorded first on 23 Apr 2022, 16:44:21
--@FAILURE: Encountered unexpected token: "dimension" <S_IDENTIFIER> recorded first on Aug 3, 2021, 7:20:07 AM
Original file line number Diff line number Diff line change
Expand Up @@ -24,5 +24,4 @@ model
order by
key

--@FAILURE: Encountered unexpected token: "dimension" <S_IDENTIFIER> recorded first on Aug 3, 2021, 7:20:08 AM
--@FAILURE: select key,num_val,m_1 from t model recorded first on 23 Apr 2022, 16:44:21
--@FAILURE: Encountered unexpected token: "dimension" <S_IDENTIFIER> recorded first on Aug 3, 2021, 7:20:08 AM
Original file line number Diff line number Diff line change
Expand Up @@ -25,5 +25,4 @@ model
order by
key

--@FAILURE: Encountered unexpected token: "dimension" <S_IDENTIFIER> recorded first on Aug 3, 2021, 7:20:08 AM
--@FAILURE: select key,num_val,m_1 from t model recorded first on 23 Apr 2022, 16:44:21
--@FAILURE: Encountered unexpected token: "dimension" <S_IDENTIFIER> recorded first on Aug 3, 2021, 7:20:08 AM
Original file line number Diff line number Diff line change
Expand Up @@ -18,5 +18,4 @@ dimension by (0 dim)
(str_new [0] =
regexp_replace (str_new[0], '(^|;)([^;]+;)(.*?;)?\2+', '\1\2\3'));

--@FAILURE: Encountered unexpected token: "partition" "PARTITION" recorded first on Aug 3, 2021, 7:20:08 AM
--@FAILURE: select bio,rtrim(str_new,';')new_str from db_temp model recorded first on 23 Apr 2022, 16:44:21
--@FAILURE: Encountered unexpected token: "partition" "PARTITION" recorded first on Aug 3, 2021, 7:20:08 AM
Loading