Merge pull request #6165 from citusdata/maryxu/chunk_filtering_test

Updated columnar_chunk_filter test for PG15
pull/6170/head
Önder Kalacı 2022-08-12 09:43:22 +02:00 committed by GitHub
commit c076fb72db
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 0 deletions

View File

@ -972,6 +972,7 @@ DETAIL: unparameterized; 1 clauses pushed down
203491455 203491455
(1 row) (1 row)
SET hash_mem_multiplier = 1.0;
EXPLAIN (analyze on, costs off, timing off, summary off) EXPLAIN (analyze on, costs off, timing off, summary off)
SELECT sum(a) FROM pushdown_test where SELECT sum(a) FROM pushdown_test where
( (
@ -1006,6 +1007,7 @@ DETAIL: unparameterized; 1 clauses pushed down
Columnar Projected Columns: a Columnar Projected Columns: a
(11 rows) (11 rows)
RESET hash_mem_multiplier;
SELECT sum(a) FROM pushdown_test where SELECT sum(a) FROM pushdown_test where
( (
a > random() a > random()

View File

@ -410,6 +410,7 @@ EXPLAIN (analyze on, costs off, timing off, summary off)
SELECT sum(a) FROM pushdown_test where (a > random() and a <= 2000) or (a > 200000-1010); SELECT sum(a) FROM pushdown_test where (a > random() and a <= 2000) or (a > 200000-1010);
SELECT sum(a) FROM pushdown_test where (a > random() and a <= 2000) or (a > 200000-1010); SELECT sum(a) FROM pushdown_test where (a > random() and a <= 2000) or (a > 200000-1010);
SET hash_mem_multiplier = 1.0;
EXPLAIN (analyze on, costs off, timing off, summary off) EXPLAIN (analyze on, costs off, timing off, summary off)
SELECT sum(a) FROM pushdown_test where SELECT sum(a) FROM pushdown_test where
( (
@ -422,6 +423,7 @@ SELECT sum(a) FROM pushdown_test where
) )
or or
(a > 200000-2010); (a > 200000-2010);
RESET hash_mem_multiplier;
SELECT sum(a) FROM pushdown_test where SELECT sum(a) FROM pushdown_test where
( (
a > random() a > random()