[SERVER-70312] Allow encrypted comparisons to constants across all numeric types Created: 06/Oct/22  Updated: 05/Dec/22

Status: Open
Project: Core Server
Component/s: Queryable Encryption
Affects Version/s: None
Fix Version/s: None

Type: Improvement Priority: Major - P3
Reporter: Davis Haupt (Inactive) Assignee: Backlog - Query Optimization
Resolution: Unresolved Votes: 1
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Assigned Teams:
Query Optimization
Participants:

 Description   

Right now, we only support comparison across int/long types using a conversion defined by the Crypto team. We could in theory support comparisons across all numeric types by coercing constant values to the index type during query analysis. We should investigate whether or not this would be expected behavior, given that we know the type of an encrypted field statically.


Generated at Thu Feb 08 06:15:50 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.