I have created a partitioned collection on a long field (playerId
) and also added a hash index on that field (DataType.Number). When I insert records most of the time it works, but sometimes it gives me a PartitionKey extracted from document doesn't match the one specified in the header
.
After I tested this in the Azure Data Explorer I found out there's a rounding problem with long numbers. If I insert 183548146777950021
through Data Explorer it will save it, but then return that same record to me as 183548146777950000
. Is this a known issue?
I'm using the latest 1.23.2 of the .NET client, in Direct/TCP mode.