Skip to content

Commit

Permalink
PR cleanup #2
Browse files Browse the repository at this point in the history
  • Loading branch information
Tmonster committed Dec 18, 2023
1 parent 066f3cc commit 13fb9e2
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 8 deletions.
2 changes: 0 additions & 2 deletions test/sql/sample/reservoir_testing_percentage.test
Expand Up @@ -35,7 +35,6 @@ SELECT count(*) from t1 using sample 100 percent (reservoir);
----
1000


statement ok
Insert into t1 select range a from range(9000);

Expand Down Expand Up @@ -71,7 +70,6 @@ select count(*) from t1 using sample 50 percent (reservoir);
----
500000


query I
select count(*) from t1 using sample 60 percent (reservoir);
----
Expand Down
2 changes: 0 additions & 2 deletions test/sql/sample/reservoir_testing_rows_value.test
Expand Up @@ -30,13 +30,11 @@ SELECT count(*) from t1 using sample 800;
----
800


query I
SELECT count(*) from t1 using sample 1000;
----
1000


statement ok
create or replace table t1 as select * from range(10000);

Expand Down
8 changes: 4 additions & 4 deletions test/sql/sample/test_sample.test
Expand Up @@ -63,15 +63,15 @@ SELECT COUNT(*) FROM range(10000) USING SAMPLE 5
----
5

# sample on a larger data set over RESERVOIR_THRESHOLD = 100000
# sample on a large data set over RESERVOIR_THRESHOLD = 100000
query I
SELECT COUNT(*) FROM range(1000000) USING SAMPLE 1000100
SELECT COUNT(*) FROM range(2000000) USING SAMPLE 1000100
----
1000000
1000100


query I
SELECT COUNT(*) FROM range(1000000) USING SAMPLE 2
SELECT COUNT(*) FROM range(2000000) USING SAMPLE 2
----
2

Expand Down

0 comments on commit 13fb9e2

Please sign in to comment.