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

test and fix if broken(add unit test case too to run vs. cassandra and in-memory) #73

Open
deanhiller opened this issue Jan 22, 2013 · 3 comments

Comments

@deanhiller
Copy link
Owner

In cassandra, you can have a columnname stored with no value or you the column name will not exist. For Boolean(capital B), if the value is null, we should store no column name so we know it's null and store the column name if the value is false.

Also, have a test for byte[0] vs. null as well and for Integer where Integer 0 vs. null.

Dean

@easility
Copy link
Collaborator

In this case, what should happen in Command Line tool? i.e., if a Boolean column is null for an entity should it get display in Command line output as columnName= null or not for that entity?

@deanhiller
Copy link
Owner Author

good question.....I think we show exactly what the database contains though it is confusing....what are your thoughts?

@easility
Copy link
Collaborator

Yes it is really confusing, as the problem is that if we are not storing the column with null value, then there is nothing in index for that entity. .and therefore, columnName= null (e.g., where isActive = null) is not returning anything...and it is really confusing..or you want that we should store the null values in indexes but not in the actual entities..

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

No branches or pull requests

2 participants