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

Store() method should not accept counter table at compile time #6

Open
0x6e6562 opened this issue Mar 24, 2014 · 0 comments
Open

Store() method should not accept counter table at compile time #6

0x6e6562 opened this issue Mar 24, 2014 · 0 comments
Labels

Comments

@0x6e6562
Copy link
Member

Right now, both the Store() and Add() methods accept a cqlc.TableBinding as an argument. If you pass a TableBinding instance for a counter table to the Store() method, there is no compile time check. Instead, you get the following run time error from Cassandra:

INSERT statement are not allowed on counter tables, use UPDATE instead
@0x6e6562 0x6e6562 added the bug label Mar 24, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant