1
0
mirror of https://github.com/mariadb-corporation/mariadb-columnstore-engine.git synced 2025-07-29 08:21:15 +03:00

sorted mtr results

This commit is contained in:
Leonid Fedorov
2024-04-17 13:19:46 +00:00
committed by Leonid Fedorov
parent 71185efe54
commit fe0f77a1a8
2 changed files with 3 additions and 2 deletions

View File

@ -13,9 +13,9 @@ a
b
c
x
x
y
z
x
SELECT a from cs1 UNION DISTINCT select a from cs2;
a
a

View File

@ -13,8 +13,9 @@ INSERT INTO cs2 VALUES('y'),('z'),('x');
CREATE TABLE cs3(a text) ENGINE=columnstore;
INSERT INTO cs3 VALUES('r'),('t'),('z');
--sorted_result
SELECT a from cs1 UNION ALL select a from cs2;
--sorted_result
SELECT a from cs1 UNION DISTINCT select a from cs2;
--ERROR 1815