Skip to content

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

Closed as not planned

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

  1. milindsrivastava1997 commented on Oct 27, 2026

    @milindsrivastava1997
    ContributorAuthor

    Superseded by the rqe-optimizer MILP path (#790, ProjectASAP/ASAPBench#129, #794); the greedy optimizer was removed in #807. The greedy candidate filter no longer exists; rqe-optimizer picks families.

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

Metadata

Metadata

Labels

asap-plannerenhancement

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions