1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60
|
-- ----------------------------------------------------------------
-- Regression tests for union operator.
-- ----------------------------------------------------------------
SELECT hll_set_output_version(1);
hll_set_output_version
------------------------
1
(1 row)
SELECT hll_empty(11,5,256,1) || hll_empty(11,5,256,1);
?column?
----------
\x118b49
(1 row)
SELECT hll_empty(11,5,256,1) || E'\\x128b498895a3f5af28cafe'::hll;
?column?
--------------------------
\x128b498895a3f5af28cafe
(1 row)
SELECT E'\\x128b498895a3f5af28cafe'::hll || E'\\x128b498895a3f5af28cafe'::hll;
?column?
--------------------------
\x128b498895a3f5af28cafe
(1 row)
SELECT E'\\x128b498895a3f5af28cafe'::hll || E'\\x128b49da0ce907e4355b60'::hll;
?column?
------------------------------------------
\x128b498895a3f5af28cafeda0ce907e4355b60
(1 row)
SELECT hll_empty(11,5,256,1) || hll_hash_integer(1,0);
?column?
--------------------------
\x128b498895a3f5af28cafe
(1 row)
SELECT hll_empty(11,5,256,1)
|| hll_hash_integer(1,0)
|| hll_hash_integer(2,0)
|| hll_hash_integer(3,0);
?column?
----------------------------------------------------------
\x128b498895a3f5af28cafeda0ce907e4355b604848de7f7bd2a13b
(1 row)
SELECT hll_hash_integer(1,0) || hll_empty(11,5,256,1);
?column?
--------------------------
\x128b498895a3f5af28cafe
(1 row)
SELECT hll_hash_integer(1,0) || hll_empty(11,5,256,1) || hll_hash_integer(2,0);
?column?
------------------------------------------
\x128b498895a3f5af28cafeda0ce907e4355b60
(1 row)
|