apache/pinot
View on GitHubSupport query response dump in different formats and location
Open
#6,939 opened on May 18, 2021
featuregood first issue
Repository metrics
- Stars
- (4,937 stars)
- PR merge metrics
- (Avg merge 6d 7h) (186 merged PRs in 30d)
Description
From the query endpoint, Pinot currently only supports customized JSON format.
It would be great to support:
- user can specify the response format, e.g. CSV
- user can specify a file to dump the query response to, e.g. local or remote(s3) file or directory.
- user can specify the compression algorithm for output file.
This can be implemented in broker query API or we can do all the reformat and response dump using org.apache.pinot.tools.admin.command.PostQueryCommand