File tree Expand file tree Collapse file tree 1 file changed +16
-7
lines changed Expand file tree Collapse file tree 1 file changed +16
-7
lines changed Original file line number Diff line number Diff line change 1
1
SELECT hll_set_output_version(1);
2
- -[ RECORD 1 ]----------+--
3
- hll_set_output_version | 1
2
+ hll_set_output_version
3
+ ------------------------
4
+ 1
5
+ (1 row)
4
6
5
7
DROP TABLE IF EXISTS test_binary;
6
8
DROP TABLE
@@ -9,18 +11,25 @@ CREATE TABLE
9
11
INSERT INTO test_binary(id,v1) VALUES (1, hll_empty() || hll_hash_text('A'));
10
12
INSERT 0 1
11
13
SELECT hll_cardinality(v1) FROM test_binary;
12
- -[ RECORD 1 ]---+--
13
- hll_cardinality | 1
14
+ hll_cardinality
15
+ -----------------
16
+ 1
17
+ (1 row)
14
18
15
19
\COPY test_binary TO 'binary.dat' WITH (FORMAT binary)
16
20
DELETE FROM test_binary;
17
21
DELETE 1
18
22
SELECT hll_cardinality(v1) FROM test_binary;
19
- (No rows)
23
+ hll_cardinality
24
+ -----------------
25
+ (0 rows)
26
+
20
27
\COPY test_binary FROM 'binary.dat' WITH (FORMAT binary)
21
28
SELECT hll_cardinality(v1) FROM test_binary;
22
- -[ RECORD 1 ]---+--
23
- hll_cardinality | 1
29
+ hll_cardinality
30
+ -----------------
31
+ 1
32
+ (1 row)
24
33
25
34
DROP TABLE test_binary;
26
35
DROP TABLE
You can’t perform that action at this time.
0 commit comments