-
Notifications
You must be signed in to change notification settings - Fork 42
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
IntDictionaryCompiler should throw error for negative values #160
Comments
@ylogx thanks for reporting the issue, I've labeled this as a |
I had a look at this: I think the problem starts with the name, its a valid assumption that "int" is signed. This is not the case, it has always been I suggest:
@narekgharibyan WDYT? |
@hendrikmuhs I really liked the idea of renaming Regarding backward compatibility and aliases: I think we can be fine by not providing them and just changing next release version to |
I did have a use case for storing ids that could be negative for one facet and positive for another facet of the dataset. After understanding the implementation, I was forced to use the String Dictionary/Store, it'll be good to have a |
The interface of the
IntDictionaryCompiler.Add
allows alllong
values:But doesn't work with negative integers:
Instead the compiler should've thrown an error on seeing negative values.
The text was updated successfully, but these errors were encountered: