The following test fails caused by the fact we make reversed a type that wraps the underline type
With the error
When you look in a debugger you see that the real type is ReversedType(MapType(…)), so the current checks fail.
- The problem impact element selection as well as range selection that where introduced in
CASSANDRA-7396as part of 4.0. So the patch will need to be done for 4.0.
- The checks that needs to be modified is in Selectable.WithElementSelection and Selectable.WithSliceSelection
- The unit tests should be added to CollectionsTest