Update test output

pull/3317/head
Hadi Moshayedi 2019-12-17 15:22:11 -08:00
parent aa1ff2f3d3
commit 03d45f376c
1 changed files with 6 additions and 6 deletions

View File

@ -135,23 +135,23 @@ BEGIN;
WITH t1 AS (
SELECT random() r, a FROM local_table
) 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;
BEGIN;
WITH t1 AS (
SELECT random() r, a FROM numbers
) 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;
BEGIN;
SELECT count(*) FROM local_table
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;
BEGIN;
SELECT count(*) FROM numbers
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;
DROP SCHEMA s1 CASCADE;
NOTICE: drop cascades to 2 other objects
@ -210,7 +210,7 @@ $Q$);
coordinator_plan
------------------------------------------------
Custom Scan (Citus Adaptive)
-> Distributed Subplan 24_1
-> Distributed Subplan 19_1
-> Seq Scan on local_table
Filter: ((a >= 1) AND (a <= 10))
Task Count: 1
@ -235,7 +235,7 @@ $Q$);
BEGIN;
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;
--
-- Joins between reference tables, local tables, and function calls shouldn't