Skip to content

Support query response dump in different formats and location #6939

@xiangfu0

Description

@xiangfu0

From the query endpoint, Pinot currently only supports customized JSON format.

It would be great to support:

  1. user can specify the response format, e.g. CSV
  2. user can specify a file to dump the query response to, e.g. local or remote(s3) file or directory.
  3. 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

Metadata

Metadata

Assignees

No one assigned

    Labels

    featureNew functionalitygood first issueGood for newcomers — GitHub surfaces this in the Contribute tab

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions