Skip to content

Epic: Improve TPC-H and TPC-DS cardinality estimates #25610

Description

@gabotechs

Is your feature request related to a problem or challenge?

TPC-H and TPC-DS SF1 expose estimation gaps at filters, joins, aggregates and
window operators. Each task below has a standalone SQL reproducer and estimated
versus actual row counts.

Describe the solution you'd like

Start with mixed AND predicates, local TopK, null checks and IN lists. The other
tasks need additional statistics or estimation-policy decisions.

Describe alternatives you've considered

Keep the current fallback estimates, leaving these gaps unresolved.

Additional context

Reproductions use the session-registry CLI fix in #25570, which is not yet
merged. Related work: #8227, #20766 and #14237. Multi-key join work is already
tracked in #21583.

No activity

Activity on this issue will appear here.

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

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions