Skip to content

[Enhancement] improve the performance of multi distinct  #9400

Closed

Description

@qzsee

Search before asking

  • I had searched in the issues and found no similar issues.

Description

Single point aggregation is a problem when multi DISTINCT is used in select statements。for example:

SELECT COUNT(DISTINCT k1) , COUNT(DISTINCT k2) FROM tbl WHERE dt >= 20211001 AND dt <= 20220406 

This statement may take tens of seconds

Solution

I want it to go faster

Are you willing to submit PR?

  • Yes I am willing to submit a PR!

Code of Conduct

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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