|
Author:
{'name': 'David Storch', 'email': 'david.storch@10gen.com', 'username': 'dstorch'}
Message: SERVER-41251 Ban double, decimal, bool, and javascriptWithScope with deterministic encryption.
Correct comparison of these types requires more than simple memcmp().
Further improvements will be required in order to correctly support
equality comparison to deterministically encrypted fields of these
types.
Branch: master
https://github.com/10gen/mongo-enterprise-modules/commit/4ce9368830e775189e3ebd3405c1f9fe385262da
|
|
Per offline discussion, this is the rationale for banning double/decimal:
Due to equality semantics for signed zeroes and NaN's, we cannot guarantee query correctness for doubles. The same applies for Decimal however there are many more representations which are not binary equal but semantically equivalent.
|