1
0
mirror of https://github.com/mariadb-corporation/mariadb-columnstore-engine.git synced 2025-08-08 14:22:09 +03:00

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>
This commit is contained in:
Daniel Lee
2022-08-09 13:20:56 -05:00
committed by GitHub
parent 8b15e2f6a4
commit 4c9d6e39ac
6839 changed files with 10542409 additions and 77 deletions

View File

@@ -0,0 +1,31 @@
USE tpch1;
drop table if exists product;
Warnings:
Note 1051 Unknown table 'tpch1.product'
drop table if exists product_tag;
Warnings:
Note 1051 Unknown table 'tpch1.product_tag'
create table product_tag (product_id bigint)engine=columnstore;
CREATE TABLE `product` (
`product_id` bigint(20) DEFAULT NULL,
`price` bigint(20) DEFAULT NULL,
`short_description` varchar(7998) DEFAULT NULL,
`brand` varchar(254) DEFAULT NULL,
`modified_dtm` datetime DEFAULT NULL,
`created_dtm` datetime DEFAULT NULL,
`modified_by` int(11) DEFAULT NULL
) engine=columnstore DEFAULT CHARSET=latin1 ;
insert into product_tag values (1),(2),(3),(4);
insert into product values (1,22,'fes','rets','2011-12-12 12:12:12','2011-12-13 1:1:10',343);
insert into product values (3,22,'fes','rets','2011-12-12 12:12:12','2011-12-13 1:1:10',343);
update
product p join
(select product_id from product_tag limit 1000) t using (product_id)
set brand=p.product_id, price=555, modified_dtm='2011-12-15 15:15:30',
short_description=concat(short_description,modified_by);
select * from product;
product_id price short_description brand modified_dtm created_dtm modified_by
1 555 fes343 1 2011-12-15 15:15:30 2011-12-13 01:01:10 343
3 555 fes343 3 2011-12-15 15:15:30 2011-12-13 01:01:10 343
drop table product;
drop table product_tag;