ggyuchive opened a new issue, #3319:
URL: https://github.com/apache/kvrocks/issues/3319

   ### Search before asking
   
   - [x] I had searched in the 
[issues](https://github.com/apache/kvrocks/issues) and found no similar issues.
   
   
   ### Motivation
   
   Currently in kvrocks, `DUMP` command is supported in string, bitmap, hash, 
list, set, zset.
   However it's not supported in other types. Basically in redis, it supports 
`DUMP` with all types.
   
   e.g. dump bloom-filter type
   
   **kvrocks**
   ```
   127.0.0.1:6666> bf.reserve bfkey 0.01 100
   OK
   127.0.0.1:6666> dump bfkey
   (error) ERR Invalid or Not supported object type
   127.0.0.1:6666>
   ```
   
   **Redis**
   ```
   127.0.0.1:6379> bf.reserve bfkey 0.01 100
   OK
   127.0.0.1:6379> dump bfkey
   
"\a\x810\x16\xe5\xa2\x89\xbe\xf8\x04\x02\x00\x02\x01\x02\x05\x02\x02\x02@d\x04{\x14\xaeG\xe1zt?\x02\b\x04\xe9\x86/\xb25\x0e&@\x02D\x80\x02\x00\x05\xc3\t@\x90\x01\x00\x00\xe0\x83\x00\x01\x00\x00\x02\x00\x00\x0c\x007\x92(\xde\x13H\xb8\xac"
   127.0.0.1:6379>
   ```
   
   ### Solution
   
   Add to support `DUMP` with all types which implemented in kvrocks.
   - SortedInt
   - Stream
   - BloomFilter
   - Json
   - HyperLogLog
   - TDigest
   - TimeSeries
   
   ### Are you willing to submit a PR?
   
   - [x] I'm willing to submit a PR!


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to