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

add funtions loading to all MTRs

This commit is contained in:
Timofey Turenko
2025-07-04 13:46:07 +03:00
committed by Leonid Fedorov
parent 6eeb948ad2
commit 4a79f8890f
8 changed files with 16 additions and 3 deletions

View File

@ -5,12 +5,13 @@
# -------------------------------------------------------------- #
#
--source ../include/have_columnstore.inc
--source ../include/functions.inc
#
USE tpch1;
#
# Negative test case for attempting to drop a non-existent partition.
select caldroppartitions('lineitem', '4.1.1');
select caldisablepartitions('lineitem', '4.1.1');
--source ../include/drop_functions.inc
#

View File

@ -6,6 +6,7 @@
#
--source ../include/have_columnstore.inc
--source ../include/detect_maxscale.inc
--source ../include/functions.inc
#
USE tpch1;
#
@ -36,4 +37,5 @@ select 'q6', birthdate, age, id, col8 from bug3657 where col8=2;
--disable_warnings
drop table if exists bug3657;
--enable_warnings
--source ../include/drop_functions.inc
#

View File

@ -5,10 +5,11 @@
# -------------------------------------------------------------- #
#
--source ../include/have_columnstore.inc
--source ../include/functions.inc
#
USE tpch1;
#
select depname, empno, moda(salary) over(partition by depname order by enroll_date) from empsalary order by depname, empno, enroll_date;
select avg(salary),depname, moda(salary) over(partition by depname order by enroll_date) from empsalary group by depname order by depname, avg(salary);
#
--source ../include/drop_functions.inc

View File

@ -5,9 +5,10 @@
# -------------------------------------------------------------- #
#
--source ../include/have_columnstore.inc
--source ../include/functions.inc
#
USE tpch1;
#
select mcsSystemPrimary() as a;
#
--source ../include/drop_functions.inc