You've already forked mariadb-columnstore-engine
mirror of
https://github.com/mariadb-corporation/mariadb-columnstore-engine.git
synced 2025-07-30 19:23:07 +03:00
Dlee mtr restructure (#2494)
* Restructured test suites and added autopilot and extended suites * Updated autopilot with correct branch - develop * Moved setup test case to a 'setup' directory, for consistency * Fixed a path issue * Updated some tests cases to keep up with development Co-authored-by: root <root@rocky8.localdomain>
This commit is contained in:
@ -0,0 +1,35 @@
|
||||
USE tpch1;
|
||||
select n_nationkey, n_name into outfile '/tmp/bug3935_outfile.txt'
|
||||
FIELDS TERMINATED BY '|' LINES TERMINATED BY '/n' from nation;
|
||||
select n_nationkey, n_name from nation into outfile '/tmp/bug3935_outfile.txt'
|
||||
FIELDS TERMINATED BY '|' LINES TERMINATED BY '/n';
|
||||
Warnings:
|
||||
Warning 1287 '<select expression> INTO <destination>;' is deprecated and will be removed in a future release. Please use 'SELECT <select list> INTO <destination> FROM...' instead
|
||||
select n_nationkey, n_name into outfile '/tmp/bug3935_outfile.txt'
|
||||
FIELDS TERMINATED BY '|' OPTIONALLY ENCLOSED BY '"' LINES TERMINATED BY '/n'
|
||||
from nation;
|
||||
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';
|
||||
Warnings:
|
||||
Warning 1287 '<select expression> INTO <destination>;' is deprecated and will be removed in a future release. Please use 'SELECT <select list> INTO <destination> FROM...' instead
|
||||
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 ',' OPTIONALLY ENCLOSED BY '"'
|
||||
LINES TERMINATED BY '\n';
|
||||
Warnings:
|
||||
Warning 1287 '<select expression> INTO <destination>;' is deprecated and will be removed in a future release. Please use 'SELECT <select list> INTO <destination> FROM...' instead
|
||||
SELECT *
|
||||
INTO OUTFILE '/tmp/bug3935_outfile.txt'
|
||||
FIELDS TERMINATED BY ',' OPTIONALLY ENCLOSED BY '\"'
|
||||
LINES TERMINATED BY '\n'
|
||||
FROM (SELECT 'ID', 'Name'
|
||||
UNION
|
||||
SELECT n_nationkey, n_name from nation) a;
|
||||
SELECT a.*
|
||||
INTO OUTFILE '/tmp/bug3935_outfile.txt'
|
||||
FIELDS TERMINATED BY ',' OPTIONALLY ENCLOSED BY '\"'
|
||||
LINES TERMINATED BY '\n'
|
||||
FROM (SELECT 'ID', 'Name'
|
||||
UNION
|
||||
SELECT n_nationkey, n_name from nation order by 2 desc) a;
|
Reference in New Issue
Block a user