This is a serious bug considering a sharding-key / partition-key will always be non-null-able. Having key column & partition-key as primary key allows to store only one entity in the set. Also breaks update operation for the existing data-set.