You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When trying to insert into an entity with an auto-increment column that has a unique index, the insert fails due to duplicate keys.
Here is a minimal example to reproduce the issue on the most recent release 0.16.5:
Exception in thread "main" io.grpc.StatusRuntimeException: INVALID_ARGUMENT: [112, 6cd2516c-f613-4fac-96fe-d772fcb843e5] Execution of Insert query failed: Mapping of LongValue(value=1) to tuple 1 could be added to UniqueHashIndex, because value must be unique.
at io.grpc.stub.ClientCalls.toStatusRuntimeException(ClientCalls.java:268)
at io.grpc.stub.ClientCalls.getUnchecked(ClientCalls.java:249)
at io.grpc.stub.ClientCalls.blockingUnaryCall(ClientCalls.java:167)
at org.vitrivr.cottontail.grpc.DMLGrpc$DMLBlockingStub.insertBatch(DMLGrpc.java:355)
at org.vitrivr.cottontail.client.SimpleClient.insert$lambda$14$lambda$13(SimpleClient.kt:180)
at io.grpc.Context.call(Context.java:551)
at org.vitrivr.cottontail.client.SimpleClient.insert$lambda$14(SimpleClient.kt:178)
at io.grpc.Context.call(Context.java:551)
at org.vitrivr.cottontail.client.SimpleClient.insert(SimpleClient.kt:176)
at org.vitrivr.cottontail.client.SimpleClient.insert(SimpleClient.kt:190)
The text was updated successfully, but these errors were encountered:
When trying to insert into an entity with an auto-increment column that has a unique index, the insert fails due to duplicate keys.
Here is a minimal example to reproduce the issue on the most recent release 0.16.5:
The text was updated successfully, but these errors were encountered: