Skip to content

sql: allow creating partial stats at extremes by default#127850

Merged
craig[bot] merged 1 commit intocockroachdb:masterfrom
Uzair5162:enable-partial-stats-at-extremes-by-default
Jul 30, 2024
Merged

sql: allow creating partial stats at extremes by default#127850
craig[bot] merged 1 commit intocockroachdb:masterfrom
Uzair5162:enable-partial-stats-at-extremes-by-default

Conversation

@Uzair5162
Copy link
Copy Markdown
Contributor

This commit makes the enable_create_stats_using_extremes session setting true by default, enabling the collection of partial statistics at extremes.

See also: #125950, #93983

Release note (sql): The enable_create_stats_using_extremes session setting is now true by default. Partial statistics at extremes can be collected using the CREATE STATISTICS <stat_name> ON <column_name> FROM <table_name> USING EXTREMES syntax.

This commit makes the `enable_create_stats_using_extremes` session
setting true by default, enabling the collection of partial statistics
at extremes.

See also: cockroachdb#125950, cockroachdb#93983

Release note (sql): The `enable_create_stats_using_extremes`
session setting is now true by default. Partial statistics at extremes
can be collected using the `CREATE STATISTICS <stat_name> ON
<column_name> FROM <table_name> USING EXTREMES` syntax.
@Uzair5162 Uzair5162 requested a review from DrewKimball July 29, 2024 18:53
@Uzair5162 Uzair5162 requested review from a team as code owners July 29, 2024 18:53
@cockroach-teamcity
Copy link
Copy Markdown
Member

This change is Reviewable

Copy link
Copy Markdown
Collaborator

@DrewKimball DrewKimball left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

:lgtm: Nice!

Reviewed 7 of 7 files at r1, all commit messages.
Reviewable status: :shipit: complete! 1 of 0 LGTMs obtained (waiting on @Uzair5162)

@Uzair5162
Copy link
Copy Markdown
Contributor Author

bors r+

@craig
Copy link
Copy Markdown
Contributor

craig bot commented Jul 30, 2024

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants