mirror of https://github.com/citusdata/citus.git
Be less verbose for printing worker ports in intermediate_results
parent
b3af5b2cc4
commit
753163b4d8
|
@ -78,16 +78,17 @@ ORDER BY x;
|
|||
(3 rows)
|
||||
|
||||
END;
|
||||
-- don't print the worker port
|
||||
\set VERBOSITY terse
|
||||
-- files should now be cleaned up
|
||||
SELECT x, x2
|
||||
FROM interesting_squares JOIN (SELECT * FROM read_intermediate_result('squares', 'binary') AS res (x text, x2 int)) squares ON (x = interested_in)
|
||||
WHERE user_id = 'jon'
|
||||
ORDER BY x;
|
||||
WARNING: result "squares" does not exist
|
||||
CONTEXT: while executing command on localhost:57638
|
||||
WARNING: result "squares" does not exist
|
||||
CONTEXT: while executing command on localhost:57637
|
||||
ERROR: could not receive query results
|
||||
\set VERBOSITY DEFAULT
|
||||
-- try to read the file as text, will fail because of binary encoding
|
||||
BEGIN;
|
||||
SELECT create_intermediate_result('squares', 'SELECT s, s*s FROM generate_series(1,5) s');
|
||||
|
|
|
@ -38,12 +38,17 @@ JOIN (SELECT * FROM read_intermediate_result('squares', 'binary') AS res (x int,
|
|||
ORDER BY x;
|
||||
END;
|
||||
|
||||
-- don't print the worker port
|
||||
\set VERBOSITY terse
|
||||
|
||||
-- files should now be cleaned up
|
||||
SELECT x, x2
|
||||
FROM interesting_squares JOIN (SELECT * FROM read_intermediate_result('squares', 'binary') AS res (x text, x2 int)) squares ON (x = interested_in)
|
||||
WHERE user_id = 'jon'
|
||||
ORDER BY x;
|
||||
|
||||
\set VERBOSITY DEFAULT
|
||||
|
||||
-- try to read the file as text, will fail because of binary encoding
|
||||
BEGIN;
|
||||
SELECT create_intermediate_result('squares', 'SELECT s, s*s FROM generate_series(1,5) s');
|
||||
|
|
Loading…
Reference in New Issue