Skip to content

Create a separated query endpoint for multi-stage query engine #11251

@xiangfu0

Description

@xiangfu0

This majorly beneficial for data Viz tooling like superset or retool which can specify a different query endpoint for multi-stage query engine without making any frontend change.

E.g. current superset connection string is: pinot://pinot-broker:8099/query/sql?controller=http://pinot-controller:9000/
Link to Add Pinot Database in Superset

We can create a new endpoint for multi-stage query at pinot://pinot-broker:8099/query/v2/sql?controller=http://pinot-controller:9000/

Changes proposed:

  1. Add new query endpoint for multi-stage query engine in controller and broker
  2. Follow up: Update java/python/golang clients to use the new endpoint.

Metadata

Metadata

Assignees

No one assigned

    Labels

    multi-stageRelated to the multi-stage query enginerest-api

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions