You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
sql/stats: handle range counts when skipping dropped enum hist buckets
In #136538 we changed DecodeHistogramBuckets to skip over histogram
buckets for dropped enum values. This change assumed that histogram
buckets for enum types would never contain range counts, but this is not
true. For example, if the number of distinct enum values exceeds the
number of histogram buckets there could be range counts.
Fixes: #154461
Release note (bug fix): Fix a bug in which range counts in table
statistics histograms were not handled correctly after a user-defined
enum type was modified.
0 commit comments