1
0
mirror of https://github.com/mariadb-corporation/mariadb-columnstore-engine.git synced 2025-07-30 19:23:07 +03:00

Added reference result files

This commit is contained in:
Daniel Lee
2022-07-08 15:42:44 -05:00
committed by david.hall
parent ff20612a87
commit 7ecf183af9
6 changed files with 10 additions and 5 deletions

View File

@ -1,3 +1,4 @@
SET GLOBAL log_bin_trust_function_creators = 1;
DROP DATABASE IF EXISTS mcs_ctype_extent_koi8u; DROP DATABASE IF EXISTS mcs_ctype_extent_koi8u;
CREATE DATABASE mcs_ctype_extent_koi8u; CREATE DATABASE mcs_ctype_extent_koi8u;
USE mcs_ctype_extent_koi8u; USE mcs_ctype_extent_koi8u;

View File

@ -1,3 +1,4 @@
SET GLOBAL log_bin_trust_function_creators = 1;
DROP DATABASE IF EXISTS mcs_ctype_extent_latin1; DROP DATABASE IF EXISTS mcs_ctype_extent_latin1;
CREATE DATABASE mcs_ctype_extent_latin1; CREATE DATABASE mcs_ctype_extent_latin1;
USE mcs_ctype_extent_latin1; USE mcs_ctype_extent_latin1;

View File

@ -1,3 +1,4 @@
SET GLOBAL log_bin_trust_function_creators = 1;
DROP DATABASE IF EXISTS mcs_ctype_extent_utf8mb3; DROP DATABASE IF EXISTS mcs_ctype_extent_utf8mb3;
CREATE DATABASE mcs_ctype_extent_utf8mb3; CREATE DATABASE mcs_ctype_extent_utf8mb3;
USE mcs_ctype_extent_utf8mb3; USE mcs_ctype_extent_utf8mb3;

View File

@ -32,25 +32,25 @@ idx count(distinct c1, c2) count(distinct c1, c3, char1)
select avg(distinct c2), count(c2), count( distinct c2, c3), count(c2),sum(distinct c2), avg(distinct c3), count(distinct c2, c3) from t1; select avg(distinct c2), count(c2), count( distinct c2, c3), count(c2),sum(distinct c2), avg(distinct c3), count(distinct c2, c3) from t1;
avg(distinct c2) count(c2) count( distinct c2, c3) count(c2) sum(distinct c2) avg(distinct c3) count(distinct c2, c3) avg(distinct c2) count(c2) count( distinct c2, c3) count(c2) sum(distinct c2) avg(distinct c3) count(distinct c2, c3)
3.0000 12 12 12 9 3.0000 12 3.0000 12 12 12 9 3.0000 12
select avg(distinct c2), count(c2), count( distinct c2, c3), count(c2),sum(distinct c2), avg(distinct c3), count(distinct c2, c3) from t1 group by c1; select avg(distinct c2), count(c2), count( distinct c2, c3), count(c2),sum(distinct c2), avg(distinct c3), count(distinct c2, c3) from t1 group by c1 order by 1, 2, 3, 4, 5, 6, 7;
avg(distinct c2) count(c2) count( distinct c2, c3) count(c2) sum(distinct c2) avg(distinct c3) count(distinct c2, c3) avg(distinct c2) count(c2) count( distinct c2, c3) count(c2) sum(distinct c2) avg(distinct c3) count(distinct c2, c3)
3.0000 6 6 6 9 2.0000 6 3.0000 6 6 6 9 2.0000 6
3.0000 6 6 6 9 3.6667 6 3.0000 6 6 6 9 3.6667 6
select avg(distinct c2), count(c2), count( distinct c2, c3), count(c2),sum(distinct c2), avg(distinct c3), count(distinct c2) from t1 group by c1; select avg(distinct c2), count(c2), count( distinct c2, c3), count(c2),sum(distinct c2), avg(distinct c3), count(distinct c2) from t1 group by c1 order by 1, 2, 3, 4, 5, 6, 7;
avg(distinct c2) count(c2) count( distinct c2, c3) count(c2) sum(distinct c2) avg(distinct c3) count(distinct c2) avg(distinct c2) count(c2) count( distinct c2, c3) count(c2) sum(distinct c2) avg(distinct c3) count(distinct c2)
3.0000 6 6 6 9 2.0000 3 3.0000 6 6 6 9 2.0000 3
3.0000 6 6 6 9 3.6667 3 3.0000 6 6 6 9 3.6667 3
select avg(distinct c2), count(c2), count( distinct c2), count(c2),sum(distinct c2), avg(distinct c3), count(distinct c2, c3) from t1 group by c1; select avg(distinct c2), count(c2), count( distinct c2), count(c2),sum(distinct c2), avg(distinct c3), count(distinct c2, c3) from t1 group by c1 order by 1, 2, 3, 4, 5, 6, 7;
avg(distinct c2) count(c2) count( distinct c2) count(c2) sum(distinct c2) avg(distinct c3) count(distinct c2, c3) avg(distinct c2) count(c2) count( distinct c2) count(c2) sum(distinct c2) avg(distinct c3) count(distinct c2, c3)
3.0000 6 3 6 9 2.0000 6 3.0000 6 3 6 9 2.0000 6
3.0000 6 3 6 9 3.6667 6 3.0000 6 3 6 9 3.6667 6
select group_concat(distinct char1), avg(distinct c2), count(c2), count( distinct c2), count(c2),sum(distinct c2), avg(distinct c3), count(distinct c2, c3, c1) from t1; select group_concat(distinct char1), avg(distinct c2), count(c2), count( distinct c2), count(c2),sum(distinct c2), avg(distinct c3), count(distinct c2, c3, c1) from t1 order by 1, 2, 3, 4, 5, 6, 7;
group_concat(distinct char1) avg(distinct c2) count(c2) count( distinct c2) count(c2) sum(distinct c2) avg(distinct c3) count(distinct c2, c3, c1) group_concat(distinct char1) avg(distinct c2) count(c2) count( distinct c2) count(c2) sum(distinct c2) avg(distinct c3) count(distinct c2, c3, c1)
elsewhere this way comes,something this way comes 3.0000 12 3 12 9 3.0000 12 elsewhere this way comes,something this way comes 3.0000 12 3 12 9 3.0000 12
select group_concat(distinct char1), avg(distinct c2), count(c2), count( distinct c2), count(c2),sum(distinct c2), avg(distinct c3), count(distinct c2, c3) from t1 group by c1; select group_concat(distinct char1), avg(distinct c2), count(c2), count( distinct c2), count(c2),sum(distinct c2), avg(distinct c3), count(distinct c2, c3) from t1 group by c1;
group_concat(distinct char1) avg(distinct c2) count(c2) count( distinct c2) count(c2) sum(distinct c2) avg(distinct c3) count(distinct c2, c3) group_concat(distinct char1) avg(distinct c2) count(c2) count( distinct c2) count(c2) sum(distinct c2) avg(distinct c3) count(distinct c2, c3)
elsewhere this way comes,something this way comes 3.0000 6 3 6 9 2.0000 6
elsewhere this way comes,something this way comes 3.0000 6 3 6 9 3.6667 6 elsewhere this way comes,something this way comes 3.0000 6 3 6 9 3.6667 6
elsewhere this way comes,something this way comes 3.0000 6 3 6 9 2.0000 6
select idx, sum(c3), count(distinct c1, c2), count(distinct c1, c3, char1), group_concat("ls_", char1) from t1 group by idx order by idx; select idx, sum(c3), count(distinct c1, c2), count(distinct c1, c3, char1), group_concat("ls_", char1) from t1 group by idx order by idx;
idx sum(c3) count(distinct c1, c2) count(distinct c1, c3, char1) group_concat("ls_", char1) idx sum(c3) count(distinct c1, c2) count(distinct c1, c3, char1) group_concat("ls_", char1)
1 9 6 4 ls_something this way comes,ls_elsewhere this way comes,ls_something this way comes,ls_something this way comes,ls_elsewhere this way comes,ls_elsewhere this way comes 1 9 6 4 ls_something this way comes,ls_elsewhere this way comes,ls_something this way comes,ls_something this way comes,ls_elsewhere this way comes,ls_elsewhere this way comes

View File

@ -25,3 +25,4 @@ SELECT * FROM t;
x x
1 1
2 2
DROP DATABASE MCOL4766;

View File

@ -1,3 +1,4 @@
SET GLOBAL log_bin_trust_function_creators = 1;
DROP DATABASE IF EXISTS mcs39_db; DROP DATABASE IF EXISTS mcs39_db;
CREATE DATABASE mcs39_db; CREATE DATABASE mcs39_db;
USE mcs39_db; USE mcs39_db;