Closed mzurawek closed 2 months ago
@mzurawek thanks for the feedback, some quick question: what was the dimension of the vector? from the code it could be 5 or 40:
dataColumn := entity.NewColumnBinaryVector("vector", 5, dataVector) // set insert data as 5
the data is actually in dimension of 40: 5 bytes = 40bits
var byteArray [5]byte = [5]byte{1, 1, 1, 1, 1}
The error message cannot be reproduce with the code you provide since the dimension check failed first
Sorry I should know that if the variable is 256 bits there should be 256 dimensions in binary vector, it wasn't clear on the documentation
Is there an existing issue for this?
Current Behavior
NewColumnBinaryVector counts each binary element as separate vector during Insert
returns error:
Expected Behavior
Item should be inserted without errors
Steps To Reproduce
Environment
Anything else?
No response