Skip to content

Optimizer: HLL as the only cardinality candidate (drop Set/DeltaSet as cardinality values) #763

Description

@milindsrivastava1997

Change

For Statistic::Cardinality, the optimizer should consider HLL only: stop enumerating SetAggregator and DeltaSetAggregator as cardinality value aggregators.

  • Planner-side filter only. Do not change asap_types::capability_matching::compatible_agg_types, which the engine's matcher and legacy planner use.
  • DeltaSetAggregator stays as the key aggregator paired with keyed sketches.

Part of #753.

🤖 Generated with Claude Code

Activity

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

Metadata

Metadata

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions