1
0
mirror of https://github.com/mariadb-corporation/mariadb-columnstore-engine.git synced 2025-07-29 08:21:15 +03:00

Updated reference results to match that of innodb tables

This commit is contained in:
mariadb-DanielLee
2022-08-17 11:28:05 -05:00
parent 4e2d4984cf
commit 10a8d274cd
4 changed files with 6 additions and 5 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

@ -2,4 +2,5 @@ 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
DROP TABLE mcol2219;