You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
During the test, I found that the key type of multiput returned map will be Array[Byte] under current implementation, which means it is impossible to get any value from the map through a get method. If I wrapped the store instance with something like Store.convert and call the multiput method on wrapped instance, l'll get an exception. Should this be changed?
The text was updated successfully, but these errors were encountered:
I don't follow. Can you link to the specific code? Is the point here that Array[T] has no good hashcode/equals?
If that is the issue, yes, we should work around. We have created wrapper types in the past to give a correct hashcode/equals. I think, for instance, ByteBuffer will work for this case.
Using a String limits us to keys that can be expressed must be valid strings.
During the test, I found that the key type of multiput returned map will be Array[Byte] under current implementation, which means it is impossible to get any value from the map through a get method. If I wrapped the store instance with something like Store.convert and call the multiput method on wrapped instance, l'll get an exception. Should this be changed?
The text was updated successfully, but these errors were encountered: