Query analysis should fail if querying for constant outside of the bounds of the index

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Fixed
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • None
    • Fully Compatible
    • QO 2022-08-22
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None

      Encrypted fields always have a min and max bounds for range indexes. Query analysis should fail when querying for a value outside of this range.

      Example, let's say age has a min of 0 and a max of 200. Here are some queries that should fail at analysis-time:

      {x: {$gt: 256}}
      {x: {$lt: -5}}
      

      This ticket will also require adding the min and max bounds to the encrypted metadata.

            Assignee:
            Davis Haupt (Inactive)
            Reporter:
            Davis Haupt (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: