Error
A valid request URL is required to generate request examplesThis response has no body data.Table
Ingest a file
Creates a segment using given file and pushes it to Pinot. All steps happen on the controller. This API is NOT meant for production environments/large input files. Example usage (query params need encoding):
curl -X POST -F file=@data.json -H "Content-Type: multipart/form-data" "http://localhost:9000/ingestFromFile?tableNameWithType=foo_OFFLINE&
batchConfigMapStr={
"inputFormat":"csv",
"recordReader.prop.delimiter":"|"
}"
POST
/
ingestFromFile
Error
A valid request URL is required to generate request examplesThis response has no body data.Authorizations
oauthdatabase
The format of the key is "Basic <token>" or "Bearer <token>"
Query Parameters
Name of the table to upload the file to
Batch config Map as json string. Must pass inputFormat, and optionally record reader properties. e.g. {"inputFormat":"json"}
Body
multipart/form-data
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Response
default - undefined
Was this page helpful?

