tabledesc: add missing row-level TTL validation unit test cases #86410
Labels
branch-master
Failures and bugs on the master branch.
C-bug
Code not up to spec/doc, specs & docs deemed correct. Solution expected to change code/behavior.
GA-blocker
I looked at the validation code today and noticed that while the row-level TTL configuration in a table descriptor does indeed have validation logic, this logic is never tested anywhere. This must have slipped through when the feature was squeezed into the last release.
The expiration expression, in particular, has no tests checking that the referenced columns actually exist, and I can't find any logic to that effect.
This is a bigger deal than it sounds. Not only has this testing repeatedly surfaced bugs and regressions; but having well-tested validation logic is a key element in lowering SQL Schema's support burden.
Accordingly, I'm marking this as a GA-blocker.
Jira issue: CRDB-18746
The text was updated successfully, but these errors were encountered: