Details
Description
- getOrDefault accepts nullables after
IGNITE-20524, but its semantics is to ensure null safety. It should not accept or nulls (getNullable methods exist to deal with nulls) getNullable family of methods throws exceptions from tuple-based views (ClientKeyValueBinaryView, KeyValueBinaryViewImpl), but it should work same as equivalent getters to ensure view equivalence.(fixed inIGNITE-23003)- getAndReplaceAsync has nullable key and value, but actual implementations (client and embedded) disallow nulls.
- getNullableAndPut throws MarshallerException when value is null, unlike getAndPut which correctly throws NullPointerException
Attachments
Issue Links
- is caused by
-
IGNITE-20524 Inconsistent behavior of KeyValueView.put with null value
- Resolved
- is related to
-
IGNITE-23164 ClientKeyValueBinaryView.get() operation returns tuple with key column
- Resolved
- relates to
-
IGNITE-23003 KeyValueBinaryView::getNullable should not throw UnsupportedOperation exception
- Resolved
-
IGNITE-16707 Unify table API integration tests
- Resolved