Ingest from the given URI
Table
Ingest from the given URI
Creates a segment using file at the given URI 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 "http://localhost:9000/ingestFromURI?tableNameWithType=foo_OFFLINE
&batchConfigMapStr={
"inputFormat":"json",
"input.fs.className":"org.apache.pinot.plugin.filesystem.S3PinotFS",
"input.fs.prop.region":"us-central",
"input.fs.prop.accessKey":"foo",
"input.fs.prop.secretKey":"bar"
}
&sourceURIStr=s3://test.bucket/path/to/json/data/data.json"
POST
Ingest from the given URI
Authorizations
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 input FS properties. e.g. {"inputFormat":"json"}
URI of file to upload
Response
default - undefined

