mirror of https://github.com/citusdata/citus.git
Teach bitmap path generation about transforming OR-clauses to SAOP's
ae4569161a27823793ca24825bbabce2a91a0bc9pull/8337/head
parent
4244bc8516
commit
c0e67f8a9a
|
|
@ -204,18 +204,24 @@ $$
|
||||||
t
|
t
|
||||||
(1 row)
|
(1 row)
|
||||||
|
|
||||||
SELECT columnar_test_helpers.uses_custom_scan (
|
BEGIN;
|
||||||
$$
|
SET LOCAL enable_indexscan TO 'OFF';
|
||||||
SELECT a FROM full_correlated WHERE a=0 OR a=5;
|
SET LOCAL enable_bitmapscan TO 'OFF';
|
||||||
$$
|
SELECT columnar_test_helpers.uses_custom_scan (
|
||||||
);
|
$$
|
||||||
|
SELECT a FROM full_correlated WHERE a=0 OR a=5;
|
||||||
|
$$
|
||||||
|
);
|
||||||
uses_custom_scan
|
uses_custom_scan
|
||||||
---------------------------------------------------------------------
|
---------------------------------------------------------------------
|
||||||
t
|
t
|
||||||
(1 row)
|
(1 row)
|
||||||
|
|
||||||
|
ROLLBACK;
|
||||||
BEGIN;
|
BEGIN;
|
||||||
SET LOCAL columnar.enable_custom_scan TO 'OFF';
|
SET LOCAL columnar.enable_custom_scan TO 'OFF';
|
||||||
|
SET LOCAL enable_indexscan TO 'OFF';
|
||||||
|
SET LOCAL enable_bitmapscan TO 'OFF';
|
||||||
SELECT columnar_test_helpers.uses_seq_scan (
|
SELECT columnar_test_helpers.uses_seq_scan (
|
||||||
$$
|
$$
|
||||||
SELECT a FROM full_correlated WHERE a=0 OR a=5;
|
SELECT a FROM full_correlated WHERE a=0 OR a=5;
|
||||||
|
|
|
||||||
|
|
@ -204,18 +204,24 @@ $$
|
||||||
t
|
t
|
||||||
(1 row)
|
(1 row)
|
||||||
|
|
||||||
SELECT columnar_test_helpers.uses_custom_scan (
|
BEGIN;
|
||||||
$$
|
SET LOCAL enable_indexscan TO 'OFF';
|
||||||
SELECT a FROM full_correlated WHERE a=0 OR a=5;
|
SET LOCAL enable_bitmapscan TO 'OFF';
|
||||||
$$
|
SELECT columnar_test_helpers.uses_custom_scan (
|
||||||
);
|
$$
|
||||||
|
SELECT a FROM full_correlated WHERE a=0 OR a=5;
|
||||||
|
$$
|
||||||
|
);
|
||||||
uses_custom_scan
|
uses_custom_scan
|
||||||
---------------------------------------------------------------------
|
---------------------------------------------------------------------
|
||||||
t
|
t
|
||||||
(1 row)
|
(1 row)
|
||||||
|
|
||||||
|
ROLLBACK;
|
||||||
BEGIN;
|
BEGIN;
|
||||||
SET LOCAL columnar.enable_custom_scan TO 'OFF';
|
SET LOCAL columnar.enable_custom_scan TO 'OFF';
|
||||||
|
SET LOCAL enable_indexscan TO 'OFF';
|
||||||
|
SET LOCAL enable_bitmapscan TO 'OFF';
|
||||||
SELECT columnar_test_helpers.uses_seq_scan (
|
SELECT columnar_test_helpers.uses_seq_scan (
|
||||||
$$
|
$$
|
||||||
SELECT a FROM full_correlated WHERE a=0 OR a=5;
|
SELECT a FROM full_correlated WHERE a=0 OR a=5;
|
||||||
|
|
|
||||||
|
|
@ -141,14 +141,21 @@ SELECT a FROM full_correlated WHERE a>200;
|
||||||
$$
|
$$
|
||||||
);
|
);
|
||||||
|
|
||||||
SELECT columnar_test_helpers.uses_custom_scan (
|
|
||||||
$$
|
BEGIN;
|
||||||
SELECT a FROM full_correlated WHERE a=0 OR a=5;
|
SET LOCAL enable_indexscan TO 'OFF';
|
||||||
$$
|
SET LOCAL enable_bitmapscan TO 'OFF';
|
||||||
);
|
SELECT columnar_test_helpers.uses_custom_scan (
|
||||||
|
$$
|
||||||
|
SELECT a FROM full_correlated WHERE a=0 OR a=5;
|
||||||
|
$$
|
||||||
|
);
|
||||||
|
ROLLBACK;
|
||||||
|
|
||||||
BEGIN;
|
BEGIN;
|
||||||
SET LOCAL columnar.enable_custom_scan TO 'OFF';
|
SET LOCAL columnar.enable_custom_scan TO 'OFF';
|
||||||
|
SET LOCAL enable_indexscan TO 'OFF';
|
||||||
|
SET LOCAL enable_bitmapscan TO 'OFF';
|
||||||
SELECT columnar_test_helpers.uses_seq_scan (
|
SELECT columnar_test_helpers.uses_seq_scan (
|
||||||
$$
|
$$
|
||||||
SELECT a FROM full_correlated WHERE a=0 OR a=5;
|
SELECT a FROM full_correlated WHERE a=0 OR a=5;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue