cockroachdb / cockroachdb/cockroach

stats,cli: redact `partialPredicate` column from redacted debug.zips

Open
#168,081 0 comments 0 reactions 0 assignees View on GitHub
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

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.