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/mcs7205_regression_MCOL-1662.result
Daniel Lee 4c9d6e39ac Dlee mtr restructure (#2494)
* Restructured test suites and added autopilot and extended suites

* Updated autopilot with correct branch - develop

* Moved setup test case to a 'setup' directory, for consistency

* Fixed a path issue

* Updated some tests cases to keep up with development

Co-authored-by: root <root@rocky8.localdomain>
2022-08-09 21:20:56 +03:00

14 lines
505 B
Plaintext

USE tpch1;
CREATE TABLE IF NOT EXISTS mcol1662 (a int, b varchar(200)) engine=columnstore;
CREATE TABLE IF NOT EXISTS mcol1662_source (a int, b varchar(200));
INSERT INTO mcol1662_source VALUES (1, 'hello');
SET columnstore_use_import_for_batchinsert=0;
INSERT INTO mcol1662 SELECT * FROM mcol1662_source;
UPDATE mcol1662 SET a = 1, b = 'Hello' WHERE a = 1 and b = 'hello';
SELECT * FROM mcol1662;
a b
1 Hello
SET columnstore_use_import_for_batchinsert=1;
DROP TABLE mcol1662_source;
DROP TABLE mcol1662;