Skip to content

Commit

Permalink
feat: Align go-redis ProbabilisticCmdable (#406)
Browse files Browse the repository at this point in the history
* init commit

* WIP: Add new command types

* copy tests from go-redis

* add go-redis test url

* WIP: scaffolding BF* cmd

TODO: CacheCompat

* add BF* to CacheCompat

* WIP: Compat

* WIP: TDigest

* fill all commands

* WIP: Finish BF.INFO cmd

* WIP: BF.INFO: use generic to handle BfInfoArgType

* introduce baseCmd

* minor tweak

* change tag from cmd to redis

* make tests for BF.INFO pass

* add notes for argument in rueidiscompat.Scan()

* implement newScanDumpCmd

* implement newCMSInfoCmd

* implement CF.*

* implement TopK.*, TDigest.*

* minor tweaks

* revert command spec for TDIGEST.ADD, allow multiple option in value

* revert command spec for TDIGEST.BYRANK to avoid breaking change

* revert command for CMS.MERGE

* use str instead of fmt.Sprint to avoid unexpected any to string conversion

* revert command spec for TDIGEST.BYREVRANK

* minor tweaks

* revert TDIGEST.ADD: remove multiple:true in values block

* replace fmt.Sprint() by str()
  • Loading branch information
unknowntpo authored Nov 12, 2023
1 parent 1b9839f commit 72146ca
Show file tree
Hide file tree
Showing 4 changed files with 1,675 additions and 0 deletions.
Loading

0 comments on commit 72146ca

Please sign in to comment.