[SERVER-41012] [FLE] Queries including $jsonSchema should error Created: 04/May/19  Updated: 27/Oct/23  Resolved: 07/May/19

Status: Closed
Project: Core Server
Component/s: Querying
Affects Version/s: None
Fix Version/s: None

Type: Bug Priority: Minor - P4
Reporter: Kevin Albertson Assignee: Backlog - Query Team (Inactive)
Resolution: Works as Designed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Assigned Teams:
Query
Operating System: ALL
Steps To Reproduce:

https://gist.github.com/kevinAlbs/94535c37c53e26fd5b485004bcab3d9e

Participants:

 Description   

The query feature support document described:

The following match expression operators will unconditionally result in an error on mongocryptd, no matter what the contents of the JSON Schema are:

  • $expr
  • $text
  • $where
  • $jsonSchema inside the query predicate itself.

The first three error with "Unsupported match expression operator for encryption", but $jsonSchema seems to be permitted.


Generated at Thu Feb 08 04:56:35 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.