mirror of https://github.com/citusdata/citus.git
make multi_reference_table test more stable
parent
3fc87a7a29
commit
c854d51cd8
|
@ -12,14 +12,14 @@ NOTICE: Copying data from local table...
|
||||||
|
|
||||||
-- see that partkey is NULL
|
-- see that partkey is NULL
|
||||||
SELECT
|
SELECT
|
||||||
partmethod, (partkey IS NULL) as partkeyisnull, colocationid, repmodel
|
partmethod, (partkey IS NULL) as partkeyisnull, repmodel
|
||||||
FROM
|
FROM
|
||||||
pg_dist_partition
|
pg_dist_partition
|
||||||
WHERE
|
WHERE
|
||||||
logicalrelid = 'reference_table_test'::regclass;
|
logicalrelid = 'reference_table_test'::regclass;
|
||||||
partmethod | partkeyisnull | colocationid | repmodel
|
partmethod | partkeyisnull | repmodel
|
||||||
------------+---------------+--------------+----------
|
------------+---------------+----------
|
||||||
n | t | 1 | t
|
n | t | t
|
||||||
(1 row)
|
(1 row)
|
||||||
|
|
||||||
-- now see that shard min/max values are NULL
|
-- now see that shard min/max values are NULL
|
||||||
|
|
|
@ -10,7 +10,7 @@ SELECT create_reference_table('reference_table_test');
|
||||||
|
|
||||||
-- see that partkey is NULL
|
-- see that partkey is NULL
|
||||||
SELECT
|
SELECT
|
||||||
partmethod, (partkey IS NULL) as partkeyisnull, colocationid, repmodel
|
partmethod, (partkey IS NULL) as partkeyisnull, repmodel
|
||||||
FROM
|
FROM
|
||||||
pg_dist_partition
|
pg_dist_partition
|
||||||
WHERE
|
WHERE
|
||||||
|
|
Loading…
Reference in New Issue