Uploaded image for project: 'OASIS Open Data Protocol (OData) TC'
  1. OASIS Open Data Protocol (OData) TC
  2. ODATA-1205

Examples 53, 54, and 59 are not compliant with Data Aggregation ABNF

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: V4.0_CS02
    • Fix Version/s: V4.0_CSD04
    • Component/s: Data Aggregation
    • Labels:
      None
    • Environment:

      Applied

    • Proposal:
      Hide

       

      Extend ABNF rule (insertion surrounded with *):

      aggregateExpr   = customAggregate [ customFrom asAlias ]
                      / commonExpr aggregateWith [ aggregateFrom ] asAlias
      *                / pathPrefix primitiveProperty aggregateWith [ aggregateFrom ] asAlias *
                      / pathPrefix '$count' asAlias 
                      / pathPrefix customAggregate
                      / pathPrefix pathSegment OPEN aggregateExpr CLOSE

       

       

      Show
        Extend ABNF rule (insertion surrounded with *): aggregateExpr = customAggregate [ customFrom asAlias ] / commonExpr aggregateWith [ aggregateFrom ] asAlias * / pathPrefix primitiveProperty aggregateWith [ aggregateFrom ] asAlias * / pathPrefix '$count' asAlias / pathPrefix customAggregate / pathPrefix pathSegment OPEN aggregateExpr CLOSE    
    • Resolution:
      Show
      already merged into https://github.com/oasis-tcs/odata-abnf/blob/master/abnf/odata-aggregation-abnf.txt

      Description

      Section 3.1 Transformation aggregate defines:

      An aggregate expression may be:
      • an expression valid in a $filter system query option on the input set that results in a simple value, e.g. the path to an aggregatable property, with a specified aggregation method,

      The above-mentioned examples refer to property paths with collection-valued navigation properties, which cannot be created from a CommonExpression that is referenced in rule aggregateExpr of the current ABNF for Data Aggregation.

       

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              gerald.krause1 Gerald Krause
            • Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: