Skip to content

opt: calculate histogram ranges for more types  #70320

@mgartner

Description

@mgartner

As pointed out in #68740, there are more non-numeric types we may be able to calculate a range for when filtering histograms.

Numeric types:

  • Interval
  • Enum
  • Oid

Non-numeric types:

  • CollatedStringFamily
  • JSONFamily
  • ArrayFamily
  • TupleFamily

Jira issue: CRDB-10031

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-sql-optimizerSQL logical planning and optimizations.C-enhancementSolution expected to add code/behavior + preserve backward-compat (pg compat issues are exception)E-quick-winLikely to be a quick win for someone experienced.T-sql-queriesSQL Queries Team

    Type

    No type

    Projects

    Status

    Backlog

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions