1
0
mirror of https://github.com/mariadb-corporation/mariadb-columnstore-engine.git synced 2025-07-27 21:01:50 +03:00

MCOL-4678 MTR tests fail because of /tmp and ./ with LOAD DATA

Also fixing the problem with missing UDFs for the affected tests.
(see MCOL-4659 for details):
When mtr runs without --remote, the UDFs must be installed inside
the test using CREATE FUNCTION.

Note, there are still more tests left with missing UDFs. They'll be
fixed separately.
This commit is contained in:
Alexander Barkov
2021-04-16 08:12:53 +04:00
parent c955ba34cd
commit ccd6b83be5
39 changed files with 410 additions and 120 deletions

View File

@ -2,7 +2,7 @@ DROP DATABASE IF EXISTS mcs209_db;
CREATE DATABASE mcs209_db;
USE mcs209_db;
CREATE TABLE t1(col1 INT, col2 INT, col3 CHAR(8)) ENGINE=Columnstore;
LOAD DATA LOCAL infile './suite/columnstore/std_data/100Krows.dat' INTO TABLE t1 FIELDS TERMINATED BY '|';
LOAD DATA LOCAL infile 'MTR_SUITE_DIR/../std_data/100Krows.dat' INTO TABLE t1 FIELDS TERMINATED BY '|';;
SELECT COUNT(*) FROM t1;
COUNT(*)
100001