As a part of the PR <https://github.com/apache/incubator-pinot/pull/4914> to
by-pass deep-store requirement for segment completion in low level
realtime consumer (design doc
<https://cwiki.apache.org/confluence/display/PINOT/By-passing+deep-store+requirement+for+Realtime+segment+completion>),
I propose to add a new segment download rest API to Pinot server in the
TablesResource
<https://github.com/apache/incubator-pinot/blob/master/pinot-server/src/main/java/org/apache/pinot/server/api/resources/TablesResource.java>
class:
- /tables/{tableNameWithType}/segments/{segmentName}
The API allows download of a segment as a zipped tar file. Its primary
usage is for segment download when a deep store is unavailable.
Please let me know if you have any questions.
Thanks,
Ting Chen