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

Fix deprication warnings in the MTR with select * from .. into

This commit is contained in:
Timofey Turenko
2025-04-03 01:20:06 +03:00
committed by Leonid Fedorov
parent 41beae9a25
commit 8c8e3ab842
12 changed files with 24 additions and 49 deletions

View File

@ -9,15 +9,11 @@
USE tpch1;
#
--exec rm -f /tmp/natcount.tbl
select count(*) from nation into outfile '/tmp/natcount.tbl';
--exec rm -f /tmp/natcount.tbl
select count(*) into outfile '/tmp/natcount.tbl' from nation;
select count(*) from nation;
--exec rm -f /var/lib/mysql/tpch1/nation.out
--exec rm -f /var/lib/mysql/tpch1c/nation.out
select count(*) from nation into outfile 'nation.out';
select count(*) into outfile 'nation.out' from nation;
--exec rm -f /var/lib/mysql/tpch1/nation.out
--exec rm -f /var/lib/mysql/tpch1c/nation.out
#

View File

@ -14,8 +14,8 @@ select n_nationkey, n_name into outfile '/tmp/bug3935_outfile.txt'
FIELDS TERMINATED BY '|' LINES TERMINATED BY '/n' from nation;
--exec rm -f /tmp/bug3935_outfile.txt
select n_nationkey, n_name from nation into outfile '/tmp/bug3935_outfile.txt'
FIELDS TERMINATED BY '|' LINES TERMINATED BY '/n';
select n_nationkey, n_name into outfile '/tmp/bug3935_outfile.txt'
FIELDS TERMINATED BY '|' LINES TERMINATED BY '/n' from nation;
--exec rm -f /tmp/bug3935_outfile.txt
select n_nationkey, n_name into outfile '/tmp/bug3935_outfile.txt'
@ -24,14 +24,14 @@ from nation;
--exec rm -f /tmp/bug3935_outfile.txt
SELECT 'ID', 'Name' UNION (SELECT n_nationkey, n_name
FROM nation ORDER BY n_name DESC) INTO OUTFILE
'/tmp/bug3935_outfile.txt' FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n';
ORDER BY n_name DESC) INTO OUTFILE
'/tmp/bug3935_outfile.txt' FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n' FROM nation;
--exec rm -f /tmp/bug3935_outfile.txt
SELECT 'ID', 'Name' UNION (SELECT n_nationkey, n_name
FROM nation ORDER BY n_name DESC) INTO OUTFILE
ORDER BY n_name DESC) INTO OUTFILE
'/tmp/bug3935_outfile.txt' FIELDS TERMINATED BY ',' OPTIONALLY ENCLOSED BY '"'
LINES TERMINATED BY '\n';
LINES TERMINATED BY '\n' FROM nation;
--exec rm -f /tmp/bug3935_outfile.txt
SELECT *

View File

@ -37,7 +37,7 @@ CREATE TABLE mcol4000(
) ENGINE=columnstore;
--exec rm -f /tmp/mcol4000.txt
SELECT * FROM lineitem LIMIT 1000000 INTO OUTFILE '/tmp/mcol4000.txt' FIELDS TERMINATED BY ',' ENCLOSED BY '"';
SELECT * INTO OUTFILE '/tmp/mcol4000.txt' FIELDS TERMINATED BY ',' ENCLOSED BY '"' FROM lineitem LIMIT 1000000;
#-- In the below, we are referring to a single insert as a DML

View File

@ -33,7 +33,7 @@ CREATE TABLE mcol4002(
) ENGINE=columnstore;
--exec rm -f /tmp/mcol4002.txt
SELECT * FROM lineitem LIMIT 100 INTO OUTFILE '/tmp/mcol4002.txt' FIELDS TERMINATED BY ',' ENCLOSED BY '"';
SELECT * INTO OUTFILE '/tmp/mcol4002.txt' FIELDS TERMINATED BY ',' ENCLOSED BY '"' FROM lineitem LIMIT 100;
#-- In the below, we are referring to a single insert as a DML