You've already forked mariadb-columnstore-engine
mirror of
https://github.com/mariadb-corporation/mariadb-columnstore-engine.git
synced 2025-08-29 03:22:01 +03:00
* 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>
18 lines
577 B
Plaintext
18 lines
577 B
Plaintext
USE tpch1;
|
|
drop table if exists bug3582;
|
|
Warnings:
|
|
Note 1051 Unknown table 'tpch1.bug3582'
|
|
create table bug3582 (c1 decimal(4,2), c2 char(4), c3 varchar(15)) engine=columnstore;
|
|
insert into bug3582 values (4.00,'a','b');
|
|
select * from bug3582;
|
|
c1 c2 c3
|
|
4.00 a b
|
|
select *, round(c1,1), round(c1,10) from bug3582;
|
|
c1 c2 c3 round(c1,1) round(c1,10)
|
|
4.00 a b 4.0 4.0000000000
|
|
update bug3582 set c2=round(c1,1), c3=round(c1,10);
|
|
select *, round(c1,1), round(c1,10) from bug3582;
|
|
c1 c2 c3 round(c1,1) round(c1,10)
|
|
4.00 4.0 4.0000000000 4.0 4.0000000000
|
|
drop table if exists bug3582;
|