1
0
mirror of https://github.com/mariadb-corporation/mariadb-columnstore-engine.git synced 2025-04-26 11:48:52 +03:00
2022-12-09 02:24:40 +00:00

20 lines
632 B
Plaintext

USE tpch1;
drop table if exists bug4431_1;
drop table if exists bug4431_2;
drop table if exists bug4431_3;
create table bug4431_1 (date int, col2 date) engine=columnstore;
create table bug4431_2 (`date` int, col2 date) engine=columnstore;
create table bug4431_3 (col2 date) engine=columnstore;
alter table bug4431_3 add column date int;
alter table bug4431_3 drop column date;
insert into bug4431_1 values (1, '2012-06-06'),(2, '2012-06-06'),(3, '2012-06-06'),(4, '2012-06-06');
select * from bug4431_1;
date col2
1 2012-06-06
2 2012-06-06
3 2012-06-06
4 2012-06-06
drop table bug4431_1;
drop table bug4431_2;
drop table bug4431_3;