From 753a490687ab00cbd203525986d8a190a2a4da62 Mon Sep 17 00:00:00 2001 From: Colin Dellow Date: Fri, 16 Mar 2018 23:53:08 -0400 Subject: [PATCH] Tests for blobs --- tests/queries/125-fixed-bytearray-eq.sql | 2 ++ tests/queries/126-fixed-bytearray-lt.sql | 2 ++ tests/queries/127-fixed-bytearray-lte.sql | 2 ++ tests/queries/128-fixed-bytearray-gt.sql | 2 ++ tests/queries/129-fixed-bytearray-gte.sql | 2 ++ tests/queries/130-fixed-bytearray-ne.sql | 2 ++ tests/queries/131-var-bytearray-eq.sql | 2 ++ tests/queries/132-var-bytearray-lt.sql | 2 ++ tests/queries/133-var-bytearray-lte.sql | 2 ++ tests/queries/134-var-bytearray-gt.sql | 2 ++ tests/queries/135-var-bytearray-gte.sql | 2 ++ tests/queries/136-var-bytearray-ne.sql | 2 ++ tests/queries/137-var-bytearray-lte.sql | 2 ++ 13 files changed, 26 insertions(+) create mode 100644 tests/queries/125-fixed-bytearray-eq.sql create mode 100644 tests/queries/126-fixed-bytearray-lt.sql create mode 100644 tests/queries/127-fixed-bytearray-lte.sql create mode 100644 tests/queries/128-fixed-bytearray-gt.sql create mode 100644 tests/queries/129-fixed-bytearray-gte.sql create mode 100644 tests/queries/130-fixed-bytearray-ne.sql create mode 100644 tests/queries/131-var-bytearray-eq.sql create mode 100644 tests/queries/132-var-bytearray-lt.sql create mode 100644 tests/queries/133-var-bytearray-lte.sql create mode 100644 tests/queries/134-var-bytearray-gt.sql create mode 100644 tests/queries/135-var-bytearray-gte.sql create mode 100644 tests/queries/136-var-bytearray-ne.sql create mode 100644 tests/queries/137-var-bytearray-lte.sql diff --git a/tests/queries/125-fixed-bytearray-eq.sql b/tests/queries/125-fixed-bytearray-eq.sql new file mode 100644 index 0000000..c895e1d --- /dev/null +++ b/tests/queries/125-fixed-bytearray-eq.sql @@ -0,0 +1,2 @@ +SELECT COUNT(*) FROM no_nulls2 WHERE binary_10 = X'10' +1 diff --git a/tests/queries/126-fixed-bytearray-lt.sql b/tests/queries/126-fixed-bytearray-lt.sql new file mode 100644 index 0000000..2dea0f9 --- /dev/null +++ b/tests/queries/126-fixed-bytearray-lt.sql @@ -0,0 +1,2 @@ +SELECT COUNT(*) FROM no_nulls2 WHERE binary_10 < X'10' +16 diff --git a/tests/queries/127-fixed-bytearray-lte.sql b/tests/queries/127-fixed-bytearray-lte.sql new file mode 100644 index 0000000..9c45f94 --- /dev/null +++ b/tests/queries/127-fixed-bytearray-lte.sql @@ -0,0 +1,2 @@ +SELECT COUNT(*) FROM no_nulls2 WHERE binary_10 <= X'10' +17 diff --git a/tests/queries/128-fixed-bytearray-gt.sql b/tests/queries/128-fixed-bytearray-gt.sql new file mode 100644 index 0000000..1b95bb0 --- /dev/null +++ b/tests/queries/128-fixed-bytearray-gt.sql @@ -0,0 +1,2 @@ +SELECT COUNT(*) FROM no_nulls2 WHERE binary_10 > X'' +99 diff --git a/tests/queries/129-fixed-bytearray-gte.sql b/tests/queries/129-fixed-bytearray-gte.sql new file mode 100644 index 0000000..959ce52 --- /dev/null +++ b/tests/queries/129-fixed-bytearray-gte.sql @@ -0,0 +1,2 @@ +SELECT COUNT(*) FROM no_nulls2 WHERE binary_10 >= X'01' +98 diff --git a/tests/queries/130-fixed-bytearray-ne.sql b/tests/queries/130-fixed-bytearray-ne.sql new file mode 100644 index 0000000..a71905a --- /dev/null +++ b/tests/queries/130-fixed-bytearray-ne.sql @@ -0,0 +1,2 @@ +SELECT COUNT(*) FROM no_nulls2 WHERE binary_10 <> X'10' +98 diff --git a/tests/queries/131-var-bytearray-eq.sql b/tests/queries/131-var-bytearray-eq.sql new file mode 100644 index 0000000..67b1d50 --- /dev/null +++ b/tests/queries/131-var-bytearray-eq.sql @@ -0,0 +1,2 @@ +SELECT COUNT(*) FROM nulls WHERE binary_9 = X'020202' +1 diff --git a/tests/queries/132-var-bytearray-lt.sql b/tests/queries/132-var-bytearray-lt.sql new file mode 100644 index 0000000..4f4fbf9 --- /dev/null +++ b/tests/queries/132-var-bytearray-lt.sql @@ -0,0 +1,2 @@ +SELECT COUNT(*) FROM no_nulls2 WHERE binary_9 < X'020202' +2 diff --git a/tests/queries/133-var-bytearray-lte.sql b/tests/queries/133-var-bytearray-lte.sql new file mode 100644 index 0000000..f8bd7fe --- /dev/null +++ b/tests/queries/133-var-bytearray-lte.sql @@ -0,0 +1,2 @@ +SELECT COUNT(*) FROM nulls WHERE binary_9 <= X'0101' +2 diff --git a/tests/queries/134-var-bytearray-gt.sql b/tests/queries/134-var-bytearray-gt.sql new file mode 100644 index 0000000..855e877 --- /dev/null +++ b/tests/queries/134-var-bytearray-gt.sql @@ -0,0 +1,2 @@ +SELECT COUNT(*) FROM nulls WHERE binary_9 > X'' +50 diff --git a/tests/queries/135-var-bytearray-gte.sql b/tests/queries/135-var-bytearray-gte.sql new file mode 100644 index 0000000..4525315 --- /dev/null +++ b/tests/queries/135-var-bytearray-gte.sql @@ -0,0 +1,2 @@ +SELECT COUNT(*) FROM nulls WHERE binary_9 >= X'62626262' +1 diff --git a/tests/queries/136-var-bytearray-ne.sql b/tests/queries/136-var-bytearray-ne.sql new file mode 100644 index 0000000..bd67285 --- /dev/null +++ b/tests/queries/136-var-bytearray-ne.sql @@ -0,0 +1,2 @@ +SELECT COUNT(*) FROM nulls WHERE binary_9 <> X'62626262' +49 diff --git a/tests/queries/137-var-bytearray-lte.sql b/tests/queries/137-var-bytearray-lte.sql new file mode 100644 index 0000000..c40773c --- /dev/null +++ b/tests/queries/137-var-bytearray-lte.sql @@ -0,0 +1,2 @@ +SELECT COUNT(*) FROM nulls WHERE binary_9 <= X'01' +1