Skip to content

Further Optimize "per partition" top-k : ROW_NUMBER < 5 / TopK #24060

Description

@alamb

This ticket track the follow on work from

Where @SubhamSinghal and others have implemented specific optimizations for queries such as this (topK per partition)

SELECT ...
  ROW_NUMBER() OVER (PARTITION BY value1, ORDER BY value2) as rn
WHERE
  rn < 10

We closed #6899 to signal we have implemented the first part of the operator; This ticket tracks further optimizations

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions