Skip to content

Commit

Permalink
More lax approx_count_distinct test
Browse files Browse the repository at this point in the history
  • Loading branch information
carlopi committed Sep 17, 2024
1 parent 1eeeef8 commit d850a22
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/prepare.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -586,7 +586,7 @@ describe('prepare', function() {
});
it("should aggregate approx_count_distinct(flt)", function (done) {
db.all("SELECT approx_count_distinct(flt) as approx_count_distinct FROM foo", function (err: null | Error, res: TableData) {
assert.ok(res[0].approx_count_distinct >= 950);
assert.ok(res[0].approx_count_distinct >= 940);
done(err);
});
});
Expand Down

0 comments on commit d850a22

Please sign in to comment.