Skip to content

Make default filter selectivity estimate configurable #8133

Description

@andygrove

Is your feature request related to a problem or challenge?

PR #8126 updates FilterExec statistics method so that it will assume that the filter will select 20% of input rows in the case where it is not possible to estimate the output cardinality of the filter.

It would be better to make this configurable, so that users can select a default filter selectivity value between 0.0 (selects no rows) and 1.0 (selects all rows).

Describe the solution you'd like

Add a new configuration option and plumb it through to FilterExec.

Describe alternatives you've considered

No response

Additional context

No response

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