mirror of https://github.com/citusdata/citus.git
Add new regression tests
parent
4b3d17f466
commit
a695b44ce9
|
@ -1011,6 +1011,11 @@ LEFT JOIN
|
|||
WHERE d1.user_id = d2.user_id )) AS bar USING (user_id);
|
||||
ERROR: cannot pushdown the subquery
|
||||
DETAIL: Complex subqueries and CTEs cannot be in the outer part of the outer join
|
||||
-- some test with failures
|
||||
WITH a AS (SELECT * FROM users_table LIMIT 10)
|
||||
SELECT user_id/0 FROM users_table JOIN a USING (user_id);
|
||||
ERROR: division by zero
|
||||
CONTEXT: while executing command on localhost:xxxxx
|
||||
RESET citus.enable_cte_inlining;
|
||||
DROP VIEW basic_view;
|
||||
DROP VIEW cte_view;
|
||||
|
|
|
@ -695,8 +695,11 @@ LEFT JOIN
|
|||
FROM distinct_undistribured d2
|
||||
WHERE d1.user_id = d2.user_id )) AS bar USING (user_id);
|
||||
|
||||
RESET citus.enable_cte_inlining;
|
||||
-- some test with failures
|
||||
WITH a AS (SELECT * FROM users_table LIMIT 10)
|
||||
SELECT user_id/0 FROM users_table JOIN a USING (user_id);
|
||||
|
||||
RESET citus.enable_cte_inlining;
|
||||
|
||||
DROP VIEW basic_view;
|
||||
DROP VIEW cte_view;
|
||||
|
|
Loading…
Reference in New Issue