Skip to content
This repository was archived by the owner on Jul 3, 2023. It is now read-only.
This repository was archived by the owner on Jul 3, 2023. It is now read-only.

Avoid redundant distinct applications #287

Open

Description

@ryzhyk

distinct is a no-op when it is connected to the output of aggregate, rolling_aggregate or any other operator that outputs collections with unit weights only. Implement a simple optimization that skips inserting distinct in such cases, similar to how we don't shard already sharded data.

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

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions