Upload a CSV file to a table.
kbc remote table upload [table] [file] [flags]
table
file
-
, input is expected from standard input, so the command is pipeable.-H, --storage-api-host <string>
connection.keboola.com
--columns <string>
--incremental-load
--primary-key <string>
--file-name <string>
--file-tags <string>
--file-delimiter <string>
,
.--file-enclosure <string>
"
.--file-escaped-by <string>
enclosure
or escapedBy
parameter, not both.)--file-without-headers
Create a table from a CSV file:
➜ kbc remote table upload in.c-users.accounts accounts.csv \
--file-name accounts.csv
--file-tags local-file
--primary-key Id
File "accounts.csv" uploaded with file id "734370450".
Table "in.c-users.accounts" does not exist, creating it.
Bucket "in.c-users" does not exist, creating it.
Created new table "in.c-users.accounts" from file with id "734370450".