cockroachdb / cockroachdb/cockroach
stats: handle NULLs and exclusive end bounds in `spanToBounds`
Open
A-sql-table-stats
C-cleanup
E-quick-win
T-sql-queries
- Dominant language
- Go
- Stars
- 32.5k
- Forks
- 4.1k
- PR merge metrics
- PR metrics pending
Description
In the original version of `spanToBounds`, for simplicity, we don't handle the case when a span has `NULL` as one of its bounds - we should consider addressing that.
Also for simplicity we assume that all bounds are inclusive even though in some cases (when the span EndKey contains just the single index key column) we could make an exclusive end bound.
Jira issue: CRDB-62777
Contributor guide
Assessment
This issue has not been assessed yet.