mirror of
https://github.com/mariadb-corporation/mariadb-columnstore-engine.git
synced 2025-04-23 07:05:36 +03:00
* 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>
36 lines
1.8 KiB
Plaintext
36 lines
1.8 KiB
Plaintext
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;
|