mirror of https://github.com/citusdata/citus.git
Call 6 times not 7 in subquery_prepared_statements
parent
23951c562e
commit
7480160f4f
|
@ -119,16 +119,6 @@ EXECUTE subquery_prepare_without_param;
|
||||||
(5,4)
|
(5,4)
|
||||||
(5 rows)
|
(5 rows)
|
||||||
|
|
||||||
EXECUTE subquery_prepare_without_param;
|
|
||||||
values_of_subquery
|
|
||||||
---------------------------------------------------------------------
|
|
||||||
(6,4)
|
|
||||||
(6,3)
|
|
||||||
(6,2)
|
|
||||||
(6,1)
|
|
||||||
(5,4)
|
|
||||||
(5 rows)
|
|
||||||
|
|
||||||
EXECUTE subquery_prepare_param_on_partkey(1);
|
EXECUTE subquery_prepare_param_on_partkey(1);
|
||||||
DEBUG: push down of limit count: 5
|
DEBUG: push down of limit count: 5
|
||||||
DEBUG: generating subplan XXX_1 for subquery SELECT DISTINCT ROW(users_table.user_id, events_table.event_type)::subquery_prepared_statements.xy AS values_of_subquery FROM public.users_table, public.events_table WHERE ((users_table.user_id OPERATOR(pg_catalog.=) events_table.user_id) AND ((users_table.user_id OPERATOR(pg_catalog.=) 1) OR (users_table.user_id OPERATOR(pg_catalog.=) 2)) AND (events_table.event_type OPERATOR(pg_catalog.=) ANY (ARRAY[1, 2, 3, 4]))) ORDER BY ROW(users_table.user_id, events_table.event_type)::subquery_prepared_statements.xy DESC LIMIT 5
|
DEBUG: generating subplan XXX_1 for subquery SELECT DISTINCT ROW(users_table.user_id, events_table.event_type)::subquery_prepared_statements.xy AS values_of_subquery FROM public.users_table, public.events_table WHERE ((users_table.user_id OPERATOR(pg_catalog.=) events_table.user_id) AND ((users_table.user_id OPERATOR(pg_catalog.=) 1) OR (users_table.user_id OPERATOR(pg_catalog.=) 2)) AND (events_table.event_type OPERATOR(pg_catalog.=) ANY (ARRAY[1, 2, 3, 4]))) ORDER BY ROW(users_table.user_id, events_table.event_type)::subquery_prepared_statements.xy DESC LIMIT 5
|
||||||
|
|
|
@ -64,7 +64,6 @@ EXECUTE subquery_prepare_without_param;
|
||||||
EXECUTE subquery_prepare_without_param;
|
EXECUTE subquery_prepare_without_param;
|
||||||
EXECUTE subquery_prepare_without_param;
|
EXECUTE subquery_prepare_without_param;
|
||||||
EXECUTE subquery_prepare_without_param;
|
EXECUTE subquery_prepare_without_param;
|
||||||
EXECUTE subquery_prepare_without_param;
|
|
||||||
|
|
||||||
|
|
||||||
EXECUTE subquery_prepare_param_on_partkey(1);
|
EXECUTE subquery_prepare_param_on_partkey(1);
|
||||||
|
|
Loading…
Reference in New Issue