-
Notifications
You must be signed in to change notification settings - Fork 4.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
12 changed files
with
6,026 additions
and
1 deletion.
There are no files selected for viewing
1,249 changes: 1,249 additions & 0 deletions
1,249
tests/army/vtable/ans/test_vtable_select_test_count.ans
Large diffs are not rendered by default.
Oops, something went wrong.
1,249 changes: 1,249 additions & 0 deletions
1,249
tests/army/vtable/ans/test_vtable_select_test_event.ans
Large diffs are not rendered by default.
Oops, something went wrong.
253 changes: 253 additions & 0 deletions
253
tests/army/vtable/ans/test_vtable_select_test_group.ans
Large diffs are not rendered by default.
Oops, something went wrong.
2,161 changes: 2,161 additions & 0 deletions
2,161
tests/army/vtable/ans/test_vtable_select_test_orderby.ans
Large diffs are not rendered by default.
Oops, something went wrong.
952 changes: 952 additions & 0 deletions
952
tests/army/vtable/ans/test_vtable_select_test_session.ans
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
select _wstart, _wend, first(*), last(*), count(*) from test_vtable_select.vtb_virtual_ntb_full count_window(10) limit 100 ; | ||
select _wstart, _wend, first(u_tinyint_col), last(u_tinyint_col), count(u_tinyint_col) from test_vtable_select.vtb_virtual_ntb_full count_window(10) limit 100; | ||
select _wstart, _wend, first(u_tinyint_col), first(u_smallint_col), last(u_tinyint_col), last(u_smallint_col), count(u_tinyint_col) from test_vtable_select.vtb_virtual_ntb_full count_window(10) limit 100 ; | ||
select _wstart, _wend, first(u_tinyint_col), first(u_smallint_col), first(u_int_col), last(u_tinyint_col), last(u_smallint_col), last(u_int_col), count(u_tinyint_col) from test_vtable_select.vtb_virtual_ntb_full count_window(10) limit 100 ; | ||
|
||
select _wstart, _wend, first(*), last(*), count(*) from test_vtable_select.vtb_virtual_ntb_full count_window(20) limit 100 ; | ||
select _wstart, _wend, first(u_tinyint_col), last(u_tinyint_col), count(u_tinyint_col) from test_vtable_select.vtb_virtual_ntb_full count_window(20) limit 100; | ||
select _wstart, _wend, first(u_tinyint_col), first(u_smallint_col), last(u_tinyint_col), last(u_smallint_col), count(u_tinyint_col) from test_vtable_select.vtb_virtual_ntb_full count_window(20) limit 100 ; | ||
select _wstart, _wend, first(u_tinyint_col), first(u_smallint_col), first(u_int_col), last(u_tinyint_col), last(u_smallint_col), last(u_int_col), count(u_tinyint_col) from test_vtable_select.vtb_virtual_ntb_full count_window(20) limit 100 ; | ||
|
||
select _wstart, _wend, first(*), last(*), count(*) from test_vtable_select.vtb_virtual_ntb_full count_window(40) limit 100 ; | ||
select _wstart, _wend, first(u_tinyint_col), last(u_tinyint_col), count(u_tinyint_col) from test_vtable_select.vtb_virtual_ntb_full count_window(40) limit 100; | ||
select _wstart, _wend, first(u_tinyint_col), first(u_smallint_col), last(u_tinyint_col), last(u_smallint_col), count(u_tinyint_col) from test_vtable_select.vtb_virtual_ntb_full count_window(40) limit 100 ; | ||
select _wstart, _wend, first(u_tinyint_col), first(u_smallint_col), first(u_int_col), last(u_tinyint_col), last(u_smallint_col), last(u_int_col), count(u_tinyint_col) from test_vtable_select.vtb_virtual_ntb_full count_window(40) limit 100 ; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
select _wstart, _wend, first(*), last(*), count(*) from test_vtable_select.vtb_virtual_ntb_full event_window start with u_tinyint_col > 50 end with u_tinyint_col > 200 limit 100 ; | ||
select _wstart, _wend, first(u_tinyint_col), last(u_tinyint_col), count(u_tinyint_col) from test_vtable_select.vtb_virtual_ntb_full event_window start with u_tinyint_col > 50 end with u_tinyint_col > 200 limit 100; | ||
select _wstart, _wend, first(u_tinyint_col), first(u_smallint_col), last(u_tinyint_col), last(u_smallint_col), count(u_tinyint_col) from test_vtable_select.vtb_virtual_ntb_full event_window start with u_tinyint_col > 50 end with u_tinyint_col > 200 limit 100 ; | ||
select _wstart, _wend, first(u_tinyint_col), first(u_smallint_col), first(u_int_col), last(u_tinyint_col), last(u_smallint_col), last(u_int_col), count(u_tinyint_col) from test_vtable_select.vtb_virtual_ntb_full event_window start with u_tinyint_col > 50 end with u_tinyint_col > 200 limit 100 ; | ||
|
||
select _wstart, _wend, first(*), last(*), count(*) from test_vtable_select.vtb_virtual_ntb_full event_window start with u_tinyint_col > 50 end with u_smallint_col > 10000 limit 100 ; | ||
select _wstart, _wend, first(u_tinyint_col), last(u_tinyint_col), count(u_tinyint_col) from test_vtable_select.vtb_virtual_ntb_full event_window start with u_tinyint_col > 50 end with u_smallint_col > 10000 limit 100; | ||
select _wstart, _wend, first(u_tinyint_col), first(u_smallint_col), last(u_tinyint_col), last(u_smallint_col), count(u_tinyint_col) from test_vtable_select.vtb_virtual_ntb_full event_window start with u_tinyint_col > 50 end with u_smallint_col > 10000 limit 100 ; | ||
select _wstart, _wend, first(u_tinyint_col), first(u_smallint_col), first(u_int_col), last(u_tinyint_col), last(u_smallint_col), last(u_int_col), count(u_tinyint_col) from test_vtable_select.vtb_virtual_ntb_full event_window start with u_tinyint_col > 50 end with u_smallint_col > 10000 limit 100 ; | ||
|
||
select _wstart, _wend, first(*), last(*), count(*) from test_vtable_select.vtb_virtual_ntb_full event_window start with u_tinyint_col > 50 end with u_smallint_col > 10000 and u_int_col > 1000000 limit 100 ; | ||
select _wstart, _wend, first(u_tinyint_col), last(u_tinyint_col), count(u_tinyint_col) from test_vtable_select.vtb_virtual_ntb_full event_window start with u_tinyint_col > 50 end with u_smallint_col > 10000 and u_int_col > 1000000 limit 100; | ||
select _wstart, _wend, first(u_tinyint_col), first(u_smallint_col), last(u_tinyint_col), last(u_smallint_col), count(u_tinyint_col) from test_vtable_select.vtb_virtual_ntb_full event_window start with u_tinyint_col > 50 end with u_smallint_col > 10000 and u_int_col > 1000000 limit 100 ; | ||
select _wstart, _wend, first(u_tinyint_col), first(u_smallint_col), first(u_int_col), last(u_tinyint_col), last(u_smallint_col), last(u_int_col), count(u_tinyint_col) from test_vtable_select.vtb_virtual_ntb_full event_window start with u_tinyint_col > 50 end with u_smallint_col > 10000 and u_int_col > 1000000 limit 100 ; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
select count(*) from test_vtable_select.vtb_virtual_ntb_full group by u_tinyint_col slimit 10 limit 10; | ||
select u_tinyint_col from test_vtable_select.vtb_virtual_ntb_full group by u_tinyint_col slimit 10 limit 10; | ||
select u_tinyint_col, count(*) from test_vtable_select.vtb_virtual_ntb_full group by u_tinyint_col slimit 10 limit 10; | ||
select avg(u_int_col) from test_vtable_select.vtb_virtual_ntb_full group by u_tinyint_col slimit 10 limit 10; | ||
select avg(u_tinyint_col), avg(u_smallint_col), avg(u_int_col), avg(u_bigint_col), avg(tinyint_col), avg(smallint_col), avg(int_col), avg(bigint_col), avg(float_col), avg(double_col) from test_vtable_select.vtb_virtual_ntb_full group by u_tinyint_col slimit 10 limit 10; | ||
select last(*) from test_vtable_select.vtb_virtual_ntb_full group by u_tinyint_col slimit 10 limit 10; | ||
|
||
select count(*) from test_vtable_select.vtb_virtual_ntb_full group by u_tinyint_col + 1 slimit 10 limit 10; | ||
select u_tinyint_col + 1 from test_vtable_select.vtb_virtual_ntb_full group by u_tinyint_col + 1 slimit 10 limit 10; | ||
select u_tinyint_col + 1, count(*) from test_vtable_select.vtb_virtual_ntb_full group by u_tinyint_col + 1 slimit 10 limit 10; | ||
select avg(u_int_col) from test_vtable_select.vtb_virtual_ntb_full group by u_tinyint_col + 1 slimit 10 limit 10; | ||
select avg(u_tinyint_col), avg(u_smallint_col), avg(u_int_col), avg(u_bigint_col), avg(tinyint_col), avg(smallint_col), avg(int_col), avg(bigint_col), avg(float_col), avg(double_col) from test_vtable_select.vtb_virtual_ntb_full group by u_tinyint_col + 1 slimit 10 limit 10; | ||
select last(*) from test_vtable_select.vtb_virtual_ntb_full group by u_tinyint_col + 1 slimit 10 limit 10; | ||
|
||
select count(*) from test_vtable_select.vtb_virtual_ntb_full group by u_tinyint_col, tinyint_col slimit 10 limit 10; | ||
select u_tinyint_col, tinyint_col from test_vtable_select.vtb_virtual_ntb_full group by u_tinyint_col, tinyint_col slimit 10 limit 10; | ||
select u_tinyint_col, tinyint_col, count(*) from test_vtable_select.vtb_virtual_ntb_full group by u_tinyint_col, tinyint_col slimit 10 limit 10; | ||
select avg(u_int_col), avg(tinyint_col) from test_vtable_select.vtb_virtual_ntb_full group by u_tinyint_col, tinyint_col slimit 10 limit 10; | ||
select avg(u_tinyint_col), avg(u_smallint_col), avg(u_int_col), avg(u_bigint_col), avg(tinyint_col), avg(smallint_col), avg(int_col), avg(bigint_col), avg(float_col), avg(double_col) from test_vtable_select.vtb_virtual_ntb_full group by u_tinyint_col, tinyint_col slimit 10 limit 10; | ||
select last(*) from test_vtable_select.vtb_virtual_ntb_full group by u_tinyint_col, tinyint_col slimit 10 limit 10; |
Oops, something went wrong.