1
0
mirror of https://github.com/mariadb-corporation/mariadb-columnstore-engine.git synced 2025-11-27 08:21:15 +03:00
Files
mariadb-columnstore-engine/mtr/basic/r/mcs209_idbDBRoot_function.result
mariadb-RomanNavrotskiy 73b4147cf3 move mtr suites here
2021-01-31 01:38:31 +02:00

19 lines
494 B
Plaintext

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 '|';
SELECT COUNT(*) FROM t1;
COUNT(*)
100001
SELECT idbDBRoot(col1) FROM t1 LIMIT 1;
idbDBRoot(col1)
1
SELECT idbDBRoot(col2) FROM t1 LIMIT 1;
idbDBRoot(col2)
1
SELECT idbDBRoot(col3) FROM t1 LIMIT 1;
idbDBRoot(col3)
1
DROP DATABASE mcs209_db;