From cbf388698b8d7e7f7ffb11607ace70e735296ed6 Mon Sep 17 00:00:00 2001 From: Colin Dellow Date: Fri, 16 Mar 2018 16:02:11 -0400 Subject: [PATCH] BOOL and INT96 tests --- tests/queries/109-bool-where-eq-0.sql | 2 ++ tests/queries/110-bool-where-eq-1.sql | 2 ++ tests/queries/111-bool-where-bool.sql | 2 ++ tests/queries/112-bool-where-not-bool.sql | 2 ++ tests/queries/113-bool-where-gt-0.sql | 2 ++ tests/queries/114-bool-where-gte-0.sql | 2 ++ tests/queries/115-bool-where-gt-1.sql | 2 ++ tests/queries/116-bool-where-lt-0.sql | 2 ++ tests/queries/117-bool-where-lt-1.sql | 2 ++ tests/queries/118-bool-where-lte-1.sql | 2 ++ tests/queries/119-ts-eq-july-20.sql | 2 ++ tests/queries/120-ts-lt-july-20.sql | 2 ++ tests/queries/121-ts-lte-july-20.sql | 2 ++ tests/queries/122-ts-gt-july-20.sql | 2 ++ tests/queries/123-ts-gte-july-20.sql | 2 ++ tests/queries/124-ts-ne-july-20.sql | 2 ++ 16 files changed, 32 insertions(+) create mode 100644 tests/queries/109-bool-where-eq-0.sql create mode 100644 tests/queries/110-bool-where-eq-1.sql create mode 100644 tests/queries/111-bool-where-bool.sql create mode 100644 tests/queries/112-bool-where-not-bool.sql create mode 100644 tests/queries/113-bool-where-gt-0.sql create mode 100644 tests/queries/114-bool-where-gte-0.sql create mode 100644 tests/queries/115-bool-where-gt-1.sql create mode 100644 tests/queries/116-bool-where-lt-0.sql create mode 100644 tests/queries/117-bool-where-lt-1.sql create mode 100644 tests/queries/118-bool-where-lte-1.sql create mode 100644 tests/queries/119-ts-eq-july-20.sql create mode 100644 tests/queries/120-ts-lt-july-20.sql create mode 100644 tests/queries/121-ts-lte-july-20.sql create mode 100644 tests/queries/122-ts-gt-july-20.sql create mode 100644 tests/queries/123-ts-gte-july-20.sql create mode 100644 tests/queries/124-ts-ne-july-20.sql diff --git a/tests/queries/109-bool-where-eq-0.sql b/tests/queries/109-bool-where-eq-0.sql new file mode 100644 index 0000000..fed038f --- /dev/null +++ b/tests/queries/109-bool-where-eq-0.sql @@ -0,0 +1,2 @@ +select count(*) from nulls where bool_0 = 0 +44 diff --git a/tests/queries/110-bool-where-eq-1.sql b/tests/queries/110-bool-where-eq-1.sql new file mode 100644 index 0000000..2c15c3d --- /dev/null +++ b/tests/queries/110-bool-where-eq-1.sql @@ -0,0 +1,2 @@ +select count(*) from nulls where bool_0 = 1 +5 diff --git a/tests/queries/111-bool-where-bool.sql b/tests/queries/111-bool-where-bool.sql new file mode 100644 index 0000000..6e869ef --- /dev/null +++ b/tests/queries/111-bool-where-bool.sql @@ -0,0 +1,2 @@ +select count(*) from nulls where bool_0 +5 diff --git a/tests/queries/112-bool-where-not-bool.sql b/tests/queries/112-bool-where-not-bool.sql new file mode 100644 index 0000000..4b52cdc --- /dev/null +++ b/tests/queries/112-bool-where-not-bool.sql @@ -0,0 +1,2 @@ +select count(*) from nulls where not bool_0 +44 diff --git a/tests/queries/113-bool-where-gt-0.sql b/tests/queries/113-bool-where-gt-0.sql new file mode 100644 index 0000000..3c98495 --- /dev/null +++ b/tests/queries/113-bool-where-gt-0.sql @@ -0,0 +1,2 @@ +select count(*) from nulls where bool_0 > 0 +5 diff --git a/tests/queries/114-bool-where-gte-0.sql b/tests/queries/114-bool-where-gte-0.sql new file mode 100644 index 0000000..84cdb7b --- /dev/null +++ b/tests/queries/114-bool-where-gte-0.sql @@ -0,0 +1,2 @@ +select count(*) from nulls where bool_0 >= 0 +49 diff --git a/tests/queries/115-bool-where-gt-1.sql b/tests/queries/115-bool-where-gt-1.sql new file mode 100644 index 0000000..a65f84c --- /dev/null +++ b/tests/queries/115-bool-where-gt-1.sql @@ -0,0 +1,2 @@ +select count(*) from nulls where bool_0 > 1 +0 diff --git a/tests/queries/116-bool-where-lt-0.sql b/tests/queries/116-bool-where-lt-0.sql new file mode 100644 index 0000000..0c8f2cc --- /dev/null +++ b/tests/queries/116-bool-where-lt-0.sql @@ -0,0 +1,2 @@ +select count(*) from nulls where bool_0 < 0 +0 diff --git a/tests/queries/117-bool-where-lt-1.sql b/tests/queries/117-bool-where-lt-1.sql new file mode 100644 index 0000000..b22bf71 --- /dev/null +++ b/tests/queries/117-bool-where-lt-1.sql @@ -0,0 +1,2 @@ +select count(*) from nulls where bool_0 < 1 +44 diff --git a/tests/queries/118-bool-where-lte-1.sql b/tests/queries/118-bool-where-lte-1.sql new file mode 100644 index 0000000..a9f2357 --- /dev/null +++ b/tests/queries/118-bool-where-lte-1.sql @@ -0,0 +1,2 @@ +select count(*) from nulls where bool_0 <= 1 +49 diff --git a/tests/queries/119-ts-eq-july-20.sql b/tests/queries/119-ts-eq-july-20.sql new file mode 100644 index 0000000..e89b1a9 --- /dev/null +++ b/tests/queries/119-ts-eq-july-20.sql @@ -0,0 +1,2 @@ +select count(*) from nulls where ts_5 = 490665600000 +1 diff --git a/tests/queries/120-ts-lt-july-20.sql b/tests/queries/120-ts-lt-july-20.sql new file mode 100644 index 0000000..405fe2c --- /dev/null +++ b/tests/queries/120-ts-lt-july-20.sql @@ -0,0 +1,2 @@ +select count(*) from nulls where ts_5 < 490665600000 +0 diff --git a/tests/queries/121-ts-lte-july-20.sql b/tests/queries/121-ts-lte-july-20.sql new file mode 100644 index 0000000..78b66c0 --- /dev/null +++ b/tests/queries/121-ts-lte-july-20.sql @@ -0,0 +1,2 @@ +select count(*) from nulls where ts_5 <= 490665600000 +1 diff --git a/tests/queries/122-ts-gt-july-20.sql b/tests/queries/122-ts-gt-july-20.sql new file mode 100644 index 0000000..06d8b37 --- /dev/null +++ b/tests/queries/122-ts-gt-july-20.sql @@ -0,0 +1,2 @@ +select count(*) from nulls where ts_5 > 490665600000 +49 diff --git a/tests/queries/123-ts-gte-july-20.sql b/tests/queries/123-ts-gte-july-20.sql new file mode 100644 index 0000000..f7dce14 --- /dev/null +++ b/tests/queries/123-ts-gte-july-20.sql @@ -0,0 +1,2 @@ +select count(*) from nulls where ts_5 >= 490665600000 +50 diff --git a/tests/queries/124-ts-ne-july-20.sql b/tests/queries/124-ts-ne-july-20.sql new file mode 100644 index 0000000..528cceb --- /dev/null +++ b/tests/queries/124-ts-ne-july-20.sql @@ -0,0 +1,2 @@ +select count(*) from nulls where ts_5 <> 490665600000 +49