kvrocks
kvrocks copied to clipboard
TimeSeries: Implement `TS.DELETERULE` command
Search before asking
- [x] I had searched in the issues and found no similar issues.
Motivation
We should implement TS.DELETERULE command.
Redis command reference: https://redis.io/docs/latest/commands/ts.deleterule/
Solution
Refer to TS.CREATERULE(https://github.com/apache/kvrocks/pull/3151/commits/9da1c2c8407edccc539b0e52b3a508a856f34462 , https://github.com/apache/kvrocks/pull/3151/commits/264a122b2aa04b4fc7afec4e9039c0ccc22222a8)
- Delete the related
DOWNSTREAMsubkey, modify thesourceKeyfield in metadata - Add
TS.DELETERULEcommand - Add go integrated test
Are you willing to submit a PR?
- [ ] I'm willing to submit a PR!
I can work on this!
@var-nan Thank you! Assigned.
@var-nan are you still working on this ?
@krishivsaini Yes. I was quite busy the last two weeks.