Open awoods187 opened 5 years ago
We have marked this issue as stale because it has been inactive for 18 months. If this issue is still relevant, removing the stale label or adding a comment will keep it active. Otherwise, we'll close it in 5 days to keep the issue queue tidy. Thank you for your contribution to CockroachDB!
We have marked this issue as stale because it has been inactive for 18 months. If this issue is still relevant, removing the stale label or adding a comment will keep it active. Otherwise, we'll close it in 10 days to keep the issue queue tidy. Thank you for your contribution to CockroachDB!
A customer wants to be able to query a single range so that they can check the date of the values in the range and then delete them if older then a given date. They want to have as little impact as possible as possible so they want to do this on a per range basis.
Currently today the only way to do this is to take the output of
SHOW EXPERIMENTAL_RANGES FROM TABLE <table>
and then use that to query the primary keys using thestart_key
andend_key
. This is not a good solution because theSHOW
clause is porcelain and subject to change.Instead, we should decode the values into a SQL format that's suitable for input in a WHERE clause.
Jira issue: CRDB-4598