mirror of https://github.com/citusdata/citus.git
Update test output
parent
aa1ff2f3d3
commit
03d45f376c
|
@ -135,23 +135,23 @@ BEGIN;
|
||||||
WITH t1 AS (
|
WITH t1 AS (
|
||||||
SELECT random() r, a FROM local_table
|
SELECT random() r, a FROM local_table
|
||||||
) SELECT count(*) FROM t1, numbers WHERE t1.a = numbers.a AND r < 0.5;
|
) SELECT count(*) FROM t1, numbers WHERE t1.a = numbers.a AND r < 0.5;
|
||||||
ERROR: cannot join local tables and reference tables in a transaction block, udf block, or distributed CTE subquery
|
ERROR: cannot join local tables and reference tables in a transaction block
|
||||||
END;
|
END;
|
||||||
BEGIN;
|
BEGIN;
|
||||||
WITH t1 AS (
|
WITH t1 AS (
|
||||||
SELECT random() r, a FROM numbers
|
SELECT random() r, a FROM numbers
|
||||||
) SELECT count(*) FROM t1, local_table WHERE t1.a = local_table.a AND r < 0.5;
|
) SELECT count(*) FROM t1, local_table WHERE t1.a = local_table.a AND r < 0.5;
|
||||||
ERROR: cannot join local tables and reference tables in a transaction block, udf block, or distributed CTE subquery
|
ERROR: cannot join local tables and reference tables in a transaction block
|
||||||
END;
|
END;
|
||||||
BEGIN;
|
BEGIN;
|
||||||
SELECT count(*) FROM local_table
|
SELECT count(*) FROM local_table
|
||||||
WHERE EXISTS(SELECT random() FROM numbers WHERE local_table.a = numbers.a);
|
WHERE EXISTS(SELECT random() FROM numbers WHERE local_table.a = numbers.a);
|
||||||
ERROR: cannot join local tables and reference tables in a transaction block, udf block, or distributed CTE subquery
|
ERROR: cannot join local tables and reference tables in a transaction block
|
||||||
END;
|
END;
|
||||||
BEGIN;
|
BEGIN;
|
||||||
SELECT count(*) FROM numbers
|
SELECT count(*) FROM numbers
|
||||||
WHERE EXISTS(SELECT random() FROM local_table WHERE local_table.a = numbers.a);
|
WHERE EXISTS(SELECT random() FROM local_table WHERE local_table.a = numbers.a);
|
||||||
ERROR: cannot join local tables and reference tables in a transaction block, udf block, or distributed CTE subquery
|
ERROR: cannot join local tables and reference tables in a transaction block
|
||||||
END;
|
END;
|
||||||
DROP SCHEMA s1 CASCADE;
|
DROP SCHEMA s1 CASCADE;
|
||||||
NOTICE: drop cascades to 2 other objects
|
NOTICE: drop cascades to 2 other objects
|
||||||
|
@ -210,7 +210,7 @@ $Q$);
|
||||||
coordinator_plan
|
coordinator_plan
|
||||||
------------------------------------------------
|
------------------------------------------------
|
||||||
Custom Scan (Citus Adaptive)
|
Custom Scan (Citus Adaptive)
|
||||||
-> Distributed Subplan 24_1
|
-> Distributed Subplan 19_1
|
||||||
-> Seq Scan on local_table
|
-> Seq Scan on local_table
|
||||||
Filter: ((a >= 1) AND (a <= 10))
|
Filter: ((a >= 1) AND (a <= 10))
|
||||||
Task Count: 1
|
Task Count: 1
|
||||||
|
@ -235,7 +235,7 @@ $Q$);
|
||||||
|
|
||||||
BEGIN;
|
BEGIN;
|
||||||
SELECT * FROM squares JOIN numbers_v ON squares.a = numbers_v.a;
|
SELECT * FROM squares JOIN numbers_v ON squares.a = numbers_v.a;
|
||||||
ERROR: cannot join local tables and reference tables in a transaction block, udf block, or distributed CTE subquery
|
ERROR: cannot join local tables and reference tables in a transaction block
|
||||||
END;
|
END;
|
||||||
--
|
--
|
||||||
-- Joins between reference tables, local tables, and function calls shouldn't
|
-- Joins between reference tables, local tables, and function calls shouldn't
|
||||||
|
|
Loading…
Reference in New Issue