cockroachdb / cockroachdb/cockroach
stats,cli: redact `partialPredicate` column from redacted debug.zips
Open
A-sql-table-stats
branch-master
branch-release-26.2
C-bug
E-quick-win
T-sql-queries
- Dominant language
- Go
- Stars
- 32.5k
- Forks
- 4.1k
- PR merge metrics
- PR metrics pending
Description
We currently mark `partialPredicate` column of `system.table_statistics` table as non-sensitive, meaning that it's included into the redacted debug.zips unchanged. This is wrong since the filter expression might contain PII (key column values) - already happening for manual CREATE STATISTICS ... WHERE and soon will also happen for "fix misestimates" automatic stats.
Jira issue: CRDB-62779
Contributor guide
Assessment
This issue has not been assessed yet.