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
I’ve been working with Spring Data MongoDB 4.5.0 and the new support for Queryable Encryption, and I’m encountering an issue when trying to create an encrypted collection with a double field using range encryption.
Caused by: com.mongodb.MongoCommandException: Command failed with error 6967100 (Location6967100): 'Precision, min, and max must all be specified together for floating point fields' on server localhost:27020. The full response is {"ok": 0.0, "errmsg": "Precision, min, and max must all be specified together for floating point fields", "code": 6967100, "codeName": "Location6967100"}
I believe this suggests that the Spring Data is not sending these parameters (precision, min, max) properly when creating the collection for floating point fields.
I’m happy to share a full minimal reproducible example if needed.
Thank you for the help!
The text was updated successfully, but these errors were encountered:
Hi team,
I’ve been working with Spring Data MongoDB 4.5.0 and the new support for Queryable Encryption, and I’m encountering an issue when trying to create an encrypted collection with a double field using range encryption.
Here’s the code snippet:
I'm getting:
I believe this suggests that the Spring Data is not sending these parameters (precision, min, max) properly when creating the collection for floating point fields.
I’m happy to share a full minimal reproducible example if needed.
Thank you for the help!
The text was updated successfully, but these errors were encountered: