1
0
mirror of https://github.com/mariadb-corporation/mariadb-columnstore-engine.git synced 2025-07-29 08:21:15 +03:00
Files
mariadb-columnstore-engine/mysql-test/columnstore/devregression/r/mcs7238_regression_MCOL-830.result
2022-12-09 02:24:40 +00:00

20 lines
602 B
Plaintext

USE tpch1;
DROP TABLE IF EXISTS test.mcol830a;
DROP TABLE IF EXISTS test.mcol830b;
CREATE TABLE test.mcol830a (
`c1` int(11) DEFAULT NULL,
`c2` varchar(64) DEFAULT NULL
) ENGINE=Columnstore DEFAULT CHARSET=utf8;
CREATE TABLE test.mcol830b (
`c1` int(11) DEFAULT NULL,
`c2` varchar(64) DEFAULT NULL
) ENGINE=MyISAM DEFAULT CHARSET=utf8;
insert into test.mcol830a values(1, 'cs测试');
insert into test.mcol830b values(2, 'myisam测试');
select * from test.mcol830a union select * from test.mcol830b order by c1 desc;
c1 c2
2 myisam测试
1 cs测试
DROP TABLE test.mcol830a;
DROP TABLE test.mcol830b;