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 # CREATEINSERT TABLEINTO db.table # (col # BIGINT PRIMARY KEY NOT ENFORCEDcol, ...) WITH ('sequence.field' = 'dt'); # ) # INSERTSELECT INTO # db.table (col, ...) SELECT col, ... # FROM httpread_load files("file:////<path>) WITH (data.file") # with # ( # "column_separator" = ",", # "format" = "csv" # ); |
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.
...