Uploaded image for project: 'Teiid'
  1. Teiid
  2. TEIID-4032 Olingo V4
  3. TEIID-4085

OData doesn't support mulitiple usage of arithmetic operators

XMLWordPrintable

    • Icon: Sub-task Sub-task
    • Resolution: Done
    • Icon: Major Major
    • 9.0, 8.12.5
    • None
    • OData
    • None

      Cannot use more than one arithmetic operator in single OData query. Each arithmetic operator has same problem: add,sub,mul,div and mod.

      URL: http://localhost:8080/odata4/olingo_basic/Source/SimpleTableView/?$filter=intkey%20eq%205%20add%201%20add%201
      Actual result: {"error":{"code": null,"message": "TEIID30067 Type was null for (? + ?) in function ((? + ?) + ?)"}}
      Expected result: Entity with intkey 7

      See: [OData-ABNF] Line: 384 and 561

              rhn-engineering-rareddy Ramesh Reddy
              msanitra Michal Sanitrak (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: