THIS IS A TEST INSTANCE. ALL YOUR CHANGES WILL BE LOST!!!!
...
Code Block |
---|
curl -u user:passwd [-H "sql: ${load_sql}"...] -T data.file -XPUT http://load_host:http_port/api/_http_load
# -- load_sql
# insert into db.table (col, ...) select stream_col, ... from http_load("property1"="value1");
# http parameters
# (
# "column_separator" = ",",
# "format" = "CSV",
# ...
# ) |
...