mirror of
https://github.com/cldellow/sqlite-parquet-vtable.git
synced 2025-09-14 22:39:59 +00:00
Scaffolding for row group filters, tests
rowid is special since its column index is -1, so add explicit tests around it
This commit is contained in:
2
tests/queries/050-rowid-gt-none.sql
Normal file
2
tests/queries/050-rowid-gt-none.sql
Normal file
@@ -0,0 +1,2 @@
|
||||
select count(*) from no_nulls1 where rowid > 100
|
||||
0
|
2
tests/queries/051-rowid-gte-none.sql
Normal file
2
tests/queries/051-rowid-gte-none.sql
Normal file
@@ -0,0 +1,2 @@
|
||||
select count(*) from no_nulls1 where rowid >= 100
|
||||
0
|
2
tests/queries/052-rowid-lt-none.sql
Normal file
2
tests/queries/052-rowid-lt-none.sql
Normal file
@@ -0,0 +1,2 @@
|
||||
select count(*) from no_nulls1 where rowid < 0
|
||||
0
|
2
tests/queries/053-rowid-lte-none.sql
Normal file
2
tests/queries/053-rowid-lte-none.sql
Normal file
@@ -0,0 +1,2 @@
|
||||
select count(*) from no_nulls1 where rowid < -1
|
||||
0
|
2
tests/queries/054-rowid-lte-one.sql
Normal file
2
tests/queries/054-rowid-lte-one.sql
Normal file
@@ -0,0 +1,2 @@
|
||||
select count(*) from no_nulls1 where rowid <= 0
|
||||
1
|
2
tests/queries/055-rowid-lt-one.sql
Normal file
2
tests/queries/055-rowid-lt-one.sql
Normal file
@@ -0,0 +1,2 @@
|
||||
select count(*) from no_nulls1 where rowid < 1
|
||||
1
|
2
tests/queries/056-rowid-ne-some.sql
Normal file
2
tests/queries/056-rowid-ne-some.sql
Normal file
@@ -0,0 +1,2 @@
|
||||
select count(*) from no_nulls1 where rowid <> 1
|
||||
98
|
2
tests/queries/057-rowid-is-null.sql
Normal file
2
tests/queries/057-rowid-is-null.sql
Normal file
@@ -0,0 +1,2 @@
|
||||
select count(*) from no_nulls1 where rowid is null
|
||||
0
|
2
tests/queries/058-rowid-is-not-null.sql
Normal file
2
tests/queries/058-rowid-is-not-null.sql
Normal file
@@ -0,0 +1,2 @@
|
||||
select count(*) from no_nulls1 where rowid is not null
|
||||
99
|
Reference in New Issue
Block a user