mirror of
https://github.com/mariadb-corporation/mariadb-columnstore-engine.git
synced 2025-05-25 13:42:31 +03:00
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.
19 lines
522 B
Plaintext
19 lines
522 B
Plaintext
DROP DATABASE IF EXISTS mcs208_db;
|
|
CREATE DATABASE mcs208_db;
|
|
USE mcs208_db;
|
|
CREATE TABLE t1(col1 INT, col2 INT, col3 CHAR(8)) ENGINE=Columnstore;
|
|
LOAD DATA LOCAL infile 'MTR_SUITE_DIR/../std_data/100Krows.dat' INTO TABLE t1 FIELDS TERMINATED BY '|';;
|
|
SELECT COUNT(*) FROM t1;
|
|
COUNT(*)
|
|
100001
|
|
SELECT idbPartition(col1) FROM t1 LIMIT 1;
|
|
idbPartition(col1)
|
|
0.0.1
|
|
SELECT idbPartition(col2) FROM t1 LIMIT 1;
|
|
idbPartition(col2)
|
|
0.0.1
|
|
SELECT idbPartition(col3) FROM t1 LIMIT 1;
|
|
idbPartition(col3)
|
|
0.0.1
|
|
DROP DATABASE mcs208_db;
|