Skip to content

PQL Support for generalized expressions in selection and aggregation #3539

@agrawaldevesh

Description

@agrawaldevesh

The context is that I am trying to enable more general purpose analytics atop my Pinot tables. The idea being that users shouldn't have to precisely log the exact expression they are interested in. I am trying to hook up Apache Superset with Pinot.

So I would like support for such features:

  1. Single column simple expressions: "select max(2 * bytesRead) from foo" or "select 2*max(bytesRead) from foo"
  2. Multi column simple expressions: "select max(bytesRead/bytesWritten) from foo" (Would this be hard to implement ?)
  3. More and more support for SQL constructs like IF, CASE etc.

Do you think these features would be straight forward to implement or would they require some architectural changes/refactoring before we can have them ? Are there efforts in the community that relate to this ? Also, what's the overall plan/roadmap about such SQL-ness ?

Thanks

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    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