mirror of https://github.com/citusdata/citus.git
Add order by multi_schema_support
parent
9c097c9f01
commit
4effa8c1f8
|
@ -514,15 +514,15 @@ SELECT master_create_worker_shards('nation_hash_collation_search_path', 4, 2);
|
||||||
(1 row)
|
(1 row)
|
||||||
|
|
||||||
\copy nation_hash_collation_search_path FROM STDIN with delimiter '|';
|
\copy nation_hash_collation_search_path FROM STDIN with delimiter '|';
|
||||||
SELECT * FROM nation_hash_collation_search_path;
|
SELECT * FROM nation_hash_collation_search_path ORDER BY 1 DESC, 2 DESC, 3 DESC, 4 DESC;
|
||||||
n_nationkey | n_name | n_regionkey | n_comment
|
n_nationkey | n_name | n_regionkey | n_comment
|
||||||
-------------+---------------------------+-------------+-------------------------------------------------------------------------------------------------------------
|
-------------+---------------------------+-------------+-------------------------------------------------------------------------------------------------------------
|
||||||
1 | ARGENTINA | 1 | al foxes promise slyly according to the regular accounts. bold requests alon
|
|
||||||
5 | ETHIOPIA | 0 | ven packages wake quickly. regu
|
5 | ETHIOPIA | 0 | ven packages wake quickly. regu
|
||||||
0 | ALGERIA | 0 | haggle. carefully final deposits detect slyly agai
|
|
||||||
3 | CANADA | 1 | eas hang ironic, silent packages. slyly regular packages are furiously over the tithes. fluffily bold
|
|
||||||
4 | EGYPT | 4 | y above the carefully unusual theodolites. final dugouts are quickly across the furiously regular d
|
4 | EGYPT | 4 | y above the carefully unusual theodolites. final dugouts are quickly across the furiously regular d
|
||||||
|
3 | CANADA | 1 | eas hang ironic, silent packages. slyly regular packages are furiously over the tithes. fluffily bold
|
||||||
2 | BRAZIL | 1 | y alongside of the pending deposits. carefully special packages are about the ironic forges. slyly special
|
2 | BRAZIL | 1 | y alongside of the pending deposits. carefully special packages are about the ironic forges. slyly special
|
||||||
|
1 | ARGENTINA | 1 | al foxes promise slyly according to the regular accounts. bold requests alon
|
||||||
|
0 | ALGERIA | 0 | haggle. carefully final deposits detect slyly agai
|
||||||
(6 rows)
|
(6 rows)
|
||||||
|
|
||||||
SELECT n_comment FROM nation_hash_collation_search_path ORDER BY n_comment COLLATE english;
|
SELECT n_comment FROM nation_hash_collation_search_path ORDER BY n_comment COLLATE english;
|
||||||
|
|
|
@ -373,7 +373,7 @@ SELECT master_create_worker_shards('nation_hash_collation_search_path', 4, 2);
|
||||||
5|ETHIOPIA|0|ven packages wake quickly. regu
|
5|ETHIOPIA|0|ven packages wake quickly. regu
|
||||||
\.
|
\.
|
||||||
|
|
||||||
SELECT * FROM nation_hash_collation_search_path;
|
SELECT * FROM nation_hash_collation_search_path ORDER BY 1 DESC, 2 DESC, 3 DESC, 4 DESC;
|
||||||
SELECT n_comment FROM nation_hash_collation_search_path ORDER BY n_comment COLLATE english;
|
SELECT n_comment FROM nation_hash_collation_search_path ORDER BY n_comment COLLATE english;
|
||||||
|
|
||||||
--test composite types with schema
|
--test composite types with schema
|
||||||
|
|
Loading…
Reference in New Issue