mirror of https://github.com/citusdata/citus.git
Fix create_distributed_function call in multi_mx_call test
parent
14848be5db
commit
637c6b8b80
|
@ -398,7 +398,7 @@ SET client_min_messages TO DEBUG1;
|
|||
--
|
||||
CREATE FUNCTION mx_call_add(int, int) RETURNS int
|
||||
AS 'select $1 + $2;' LANGUAGE SQL IMMUTABLE;
|
||||
SELECT create_distributed_function('mx_call_add(int,int)', '$1');
|
||||
SELECT create_distributed_function('mx_call_add(int,int)', '$1', 'mx_call_dist_table_1');
|
||||
DEBUG: switching to sequential query execution mode
|
||||
DETAIL: A distributed function is created. To make sure subsequent commands see the type correctly we need to make sure to use only one connection for all future commands
|
||||
create_distributed_function
|
||||
|
|
|
@ -167,7 +167,7 @@ SET client_min_messages TO DEBUG1;
|
|||
--
|
||||
CREATE FUNCTION mx_call_add(int, int) RETURNS int
|
||||
AS 'select $1 + $2;' LANGUAGE SQL IMMUTABLE;
|
||||
SELECT create_distributed_function('mx_call_add(int,int)', '$1');
|
||||
SELECT create_distributed_function('mx_call_add(int,int)', '$1', 'mx_call_dist_table_1');
|
||||
|
||||
-- non-const distribution parameters cannot be pushed down
|
||||
call multi_mx_call.mx_call_proc(2, mx_call_add(3, 4));
|
||||
|
|
Loading…
Reference in New Issue