mirror of
https://github.com/scylladb/scylladb.git
synced 2026-04-23 01:50:35 +00:00
Method reponsible for creating a token of given values is not meant to be used with empty optionals. Thus, having requested a token of the columns containing null values resulted with an exception being thrown. This kind of behaviour was not compatible with the one applied in cassandra. To fix this, before the computation of a token, it is checked whether no null value is contained. If any value in the processed vector is null, null value is returned. Fixes: #10594 Closes #10942