[MCOL-1227] doc: bulk insert using select * Created: 2018-02-21  Updated: 2019-07-10  Resolved: 2019-07-10

Status: Closed
Project: MariaDB ColumnStore
Component/s: Documentation
Affects Version/s: 1.1.2
Fix Version/s: Icebox

Type: Bug Priority: Minor
Reporter: David Hall (Inactive) Assignee: Unassigned
Resolution: Fixed Votes: 0
Labels: None


 Description   

In https://mariadb.com/kb/en/library/columnstore-bulk-data-loading/, we have an example of how to do a select from a table into cpimport. The example doesn't work.

mcsmysql -q -e 'select * from source_table;' -N db2 |
/usr/local/mariadb/columnstore/cpimport -j501 -s '\t' -f STDIN

-j501 is telling it to use a jobfile, but there's no colxml job described.

If you replace -j501 with database and table positional parameters, you need to remove the -f STDIN, and the user must have write permissions to /usr/local/mariadb/columnstore/data/bulk/tmpjob/


Generated at Thu Feb 08 02:27:10 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.