Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
curl -u user:passwd [-H "sql: ${load_sql}"...] -T data.file -XPUT http://load_host:http_port/api/_http_load


# -- load_sql
# insertINSERT intoINTO db.table 
# (
#     col, ...
# ) select
# SELECT 
#     col, ... 
# fromFROM httpread_loadfiles("property1"="value1");


# http parametersfile:///data.file") 
# with
# (
#     "column_separator" = ",",
#     "format" = "CSVcsv",
#     ...
# ));

Return Results

Since Load Action is a synchronous import method, the results of the import are directly returned to the user through the return value created for the import.

...