Files
openGauss-server/src/test/regress/output/obs_bulkload_parallel_test_2.source
dengxuyue 1567043064 同步source code
日期: 12-26
    revision: ee5b054c
2020-12-28 22:19:21 +08:00

23 lines
500 B
Plaintext

--
-- OBS BULK LOAD PARALLEL TEST 2
--
----
--3. Load data in normal mode and data with header line
----
CREATE FOREIGN TABLE EXT_HEADER (name text, time date)
SERVER gsmpp_server OPTIONS(location 'gsobs://@obshostname@/@obsbucket@/obscheck/header.txt',
format 'text',
DELIMITER ';',
encoding 'utf8',
chunksize '32',
encrypt 'off',
access_key '@ak@',
secret_access_key '@sk@');
SELECT COUNT(*) FROM EXT_HEADER;
count
-------
5
(1 row)
DROP FOREIGN TABLE EXT_HEADER;