Push data to a SQL table.
The client sends data encoded using the format specified in the ?format=
parameter as a body of the request. The contents of the data must match
the SQL table schema specified in table_name
The pipeline ingests data as it arrives without waiting for the end of the request. Successful HTTP response indicates that all data has been ingested successfully.
Path Parameters |
---|
pipeline_name string — REQUIREDUnique pipeline name |
table_name string — REQUIREDSQL table name. Unquoted SQL names have to be capitalized. Quoted SQL names have to exactly match the case from the SQL program. |
Query Parameters |
---|
force boolean — REQUIREDWhen |
format string — REQUIREDInput data format, e.g., 'csv' or 'json'. |
array booleanSet to |
update_format stringPossible values: [ Supported JSON data change event formats. Each element in a JSON-formatted input stream specifies an update to one or more records in an input table. We support several different ways to represent such updates. JSON data change event format (used in conjunction with |
Request Body — REQUIRED Contains the new input data in CSV. |
---|
string |
Responses | ||||
---|---|---|---|---|
200 Data successfully delivered to the pipeline. | ||||
400 Error parsing input data.
| ||||
404 Pipeline is not currently running because it has been shutdown or not yet started.
| ||||
500 Request failed.
|