Skip to content

Commit

Permalink
Added new test
Browse files Browse the repository at this point in the history
  • Loading branch information
Cédric Dutoit committed Oct 2, 2017
1 parent 3c1ca68 commit d45432f
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions src/test/resources/OracleStory2.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
RUN ON CRON 0,30 * * * *
GIVEN COLLECTOR JDBC WITH url=jdbc:oracle:thin:@host:port/instance,user=myuser,password=mypass
QUERY "
select (
select count(*) from myschema.mytable table1
left outer join myschema.field1 pub on pub.myid = pub.myfk
where field2=2 and field3=1
and pub.x_timestamp>trunc(sysdate)
group by field1
) as MYVAL1,(
select count(*) from myschema.mytable table1
left outer join myschema.field1 pub on pub.myid = pub.myfk
where field2=2 and field3=3
and pub.x_timestamp>trunc(sysdate)
group by field1
) as MYVAL2 from dual
"
THEN STORE VALUES

0 comments on commit d45432f

Please sign in to comment.