Skip to content

opt: add support for multi-column statistics #34422

@rytaft

Description

@rytaft

Currently we only support creation of table statistics on single columns. Although the syntax for creation of statistics with multiple columns is supported, execution of such a request causes an error. For example:

> CREATE STATISTICS employee_multi_col_stats ON first_name, last_name FROM employees;
ERROR:  multi-column sketches not supported yet

This issue will track support for this feature.

Metadata

Metadata

Assignees

Labels

A-sql-optimizerSQL logical planning and optimizations.C-enhancementSolution expected to add code/behavior + preserve backward-compat (pg compat issues are exception)

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions