Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Counting cardinality estimations may become negative #3

Open
KMax opened this issue Mar 4, 2019 · 1 comment
Open

Counting cardinality estimations may become negative #3

KMax opened this issue Mar 4, 2019 · 1 comment
Labels
bug Something isn't working
Milestone

Comments

@KMax
Copy link
Collaborator

KMax commented Mar 4, 2019

The card(c), card(p) and card(p, o) may be below zero, which is wrong. Maybe fixed by using the conditional UPDATE which would check if the counter is not less than the decrement.

@KMax KMax added the bug Something isn't working label Mar 4, 2019
@KMax KMax added this to the v0.0.1 milestone Mar 4, 2019
@KMax
Copy link
Collaborator Author

KMax commented Mar 13, 2019

INSERT ... IF NOT EXISTS employs the lightweight transactions mechanism which isn't supported by ScyllaDB yet (see scylladb/scylladb#1359). And lightweight transactions introduce a significant overhead which may be undesirable.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant