You've already forked mariadb-columnstore-engine
mirror of
https://github.com/mariadb-corporation/mariadb-columnstore-engine.git
synced 2025-07-30 19:23:07 +03:00
sorted mtr results
This commit is contained in:
committed by
Leonid Fedorov
parent
71185efe54
commit
fe0f77a1a8
@ -13,9 +13,9 @@ a
|
|||||||
b
|
b
|
||||||
c
|
c
|
||||||
x
|
x
|
||||||
|
x
|
||||||
y
|
y
|
||||||
z
|
z
|
||||||
x
|
|
||||||
SELECT a from cs1 UNION DISTINCT select a from cs2;
|
SELECT a from cs1 UNION DISTINCT select a from cs2;
|
||||||
a
|
a
|
||||||
a
|
a
|
||||||
|
@ -13,8 +13,9 @@ INSERT INTO cs2 VALUES('y'),('z'),('x');
|
|||||||
CREATE TABLE cs3(a text) ENGINE=columnstore;
|
CREATE TABLE cs3(a text) ENGINE=columnstore;
|
||||||
INSERT INTO cs3 VALUES('r'),('t'),('z');
|
INSERT INTO cs3 VALUES('r'),('t'),('z');
|
||||||
|
|
||||||
|
--sorted_result
|
||||||
SELECT a from cs1 UNION ALL select a from cs2;
|
SELECT a from cs1 UNION ALL select a from cs2;
|
||||||
|
--sorted_result
|
||||||
SELECT a from cs1 UNION DISTINCT select a from cs2;
|
SELECT a from cs1 UNION DISTINCT select a from cs2;
|
||||||
|
|
||||||
--ERROR 1815
|
--ERROR 1815
|
||||||
|
Reference in New Issue
Block a user