1
0
mirror of https://github.com/mariadb-corporation/mariadb-columnstore-engine.git synced 2025-08-01 06:46:55 +03:00

Danielsmtrupdate (#2357)

* Old precision issue.  New results matching server results now

* Value overflow issue.  New result matching server result now

* Showing correct column name now

* Added --disable_warning to subpress warnings that cause result mismatched

* Need to add one more result file
This commit is contained in:
Daniel Lee
2022-05-02 11:49:42 -05:00
committed by GitHub
parent 29a5b2facc
commit ec2e490737
9 changed files with 15 additions and 11 deletions

View File

@ -32761,7 +32761,7 @@ ceil(d134/3) 9 1.603540000000000000 2
ceil(d134/3) 10 0.057843666666666667 1
ceil(d134/3) 11 3.333333333333330000 4
ceil(d134/3) 12 -2.211013333333333333 -2
ceil(d134/3) 13 3.163913333333333334 4
ceil(d134/3) 13 3.163913333333333333 4
ceil(d134/3) 14 0.303364666666666667 1
ceil(d134/3) 15 3.333333333333330000 4
ceil(d134/3) 16 -1.926550000000000000 -1

View File

@ -41,7 +41,7 @@ c2 ceil(c2) ceiling(c2) floor(c2) truncate(c2, 2)
-1.10 -1 -1 -2 -1.10
-1234567890.10 -1234567890 -1234567890 -1234567891 -1234567890.10
-1234567890.80 -1234567890 -1234567890 -1234567891 -1234567890.80
-12345678901.00 -12345678901 -12345678901 -12345678902 -12345678901.00
-12345678901.00 -12345678901 -12345678901 -12345678901 -12345678901.00
-1234567890123456.78 -1234567890123456 -1234567890123456 -1234567890123457 -1234567890123456.78
-1234567890987654.32 -1234567890987654 -1234567890987654 -1234567890987655 -1234567890987654.32
select c4, ceil(c4), ceiling(c4), floor(c4) from bug3483;

View File

@ -21,13 +21,13 @@ select (count(*)/72143371)*100,(6001215/72143371)*100,(count(*)*100)/72143371,(6
set columnstore_double_for_decimal_math = 0;
select session_duration as session_duration, session_idle_down_duration as session_idle_down_duration, session_q5_down as session_q5_down, session_duration*session_q5_down as result_1, (session_duration*session_q5_down)*8 as result_2, (1032632.1*1273564557)*8 as result_3 from p2_loaded_uh_p_xml_fsc_2x_for_agg_201310_valid_sess t1;
session_duration session_idle_down_duration session_q5_down result_1 result_2 result_3
1032632.100 86382.000 1273564557 1315123642980479.700 -7925754929865714.016 10520989143843837.6
1032632.100 86382.000 1273564557 1315123642980479.700 10520989143843837.600 10520989143843837.6
select col1*2.0002*2.0000002*0.999999999999 from bug2437;
col1*2.0002*2.0000002*0.999999999999
0.000000008844817964341929788
40.004404040399999595959559996
select col1*4.00040040003599959959996 from bug2437;
col1*4.00040040003599959959996
0.000000009223372036854675807
40.004404040399999595959559996
select (count(*)/72143371)*100,(6001215/72143371)*100,(count(*)*100)/72143371,(6001215*100)/72143371 from lineitem;
(count(*)/72143371)*100 (6001215/72143371)*100 (count(*)*100)/72143371 (6001215*100)/72143371
8.3200 8.3185 8.3185 8.3185

View File

@ -1,6 +1,4 @@
drop table if exists j1;
Warnings:
Note 1051 Unknown table 'test.j1'
create table j1 (j1_key int)engine=columnstore;
insert into j1 values (1),(2),(3),(4),(5),(6),(7),(8),(9),(10),(11),(12),(13),(14),(15),(null);
select * from j1;

View File

@ -2,4 +2,6 @@ USE tpch1;
CREATE TABLE IF NOT EXISTS mcol2219 (`t (space` int) engine=columnstore;
SELECT column_name FROM information_schema.columnstore_columns WHERE table_name='mcol2219';
column_name
t (space
t (space
DROP TABLE mcol2219;

View File

@ -6,8 +6,9 @@
#
-- source ../include/have_columnstore.inc
--disable_warnings
drop table if exists j1;
--enable_warnings
create table j1 (j1_key int)engine=columnstore;

View File

@ -6,8 +6,9 @@
#
-- source ../include/have_columnstore.inc
--disable_warnings
drop table if exists j11;
--enable_warnings
create table j11 (j11_key int)engine=columnstore;

View File

@ -6,8 +6,9 @@
#
-- source ../include/have_columnstore.inc
--disable_warnings
drop table if exists j16;
--enable_warnings
create table j16 (j16_key int)engine=columnstore;

View File

@ -6,8 +6,9 @@
#
-- source ../include/have_columnstore.inc
--disable_warnings
drop table if exists j6;
--enable_warnings
create table j6 (j6_key int)engine=columnstore;