Skip to content

Fix zadd syntax and add support for dealing with partially corrupted datasets#65

Open
chrisb09 wants to merge 2 commits into
p:masterfrom
chrisb09:master
Open

Fix zadd syntax and add support for dealing with partially corrupted datasets#65
chrisb09 wants to merge 2 commits into
p:masterfrom
chrisb09:master

Conversation

@chrisb09

Copy link
Copy Markdown

zadd

The zadd call was using an incorrect variable scheme. Reference
For redis-py 4.4 the existing function parameters were invalid, I suspect this was changed at some point in the past.

recommendation

Assuming my presumption is correct, it should be possible to prevent such problems caused by API changes from arising in the future by specifying the version (or version range) of the redis-py (redis) dependency.

corrupted data

I was dealing with an old legacy dataset which had null entries for types and values, with these changes such entries are ignored instead of causing an error.

@kortov

kortov commented Mar 14, 2023

Copy link
Copy Markdown

thanks for your fork, it helped

@chrisb09

Copy link
Copy Markdown
Author

no problem. glad i could help.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

8 participants