Uploaded image for project: 'ODATA'
  1. ODATA
  2. ODATA-25

Compute fails with filter when formula involves more than one non-constant

    • Type: Icon: Bug Bug
    • Resolution: Gone away
    • Priority: Icon: Unknown Unknown
    • None
    • Affects Version/s: None
    • None

      When using compute and filter together, the request fails if compute contains more than one variable (non-constant), such as '/odata/Cities?$compute=(Population div Density) as Area&$filter=Area gt 10000'. If 'Density' is changed to some constant, the request succeeds. When select is used instead of filter, the issue doesn't occur.

            Assignee:
            jania.vandevoorde@mongodb.com Jania Vandevoorde (Inactive)
            Reporter:
            jania.vandevoorde@mongodb.com Jania Vandevoorde (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: