Improve the syntax of aggregation exceptions with "from"

    • Type: Improvement
    • Resolution: Fixed
    • Priority: Minor
    • V4.0_CSD04
    • Affects Version/s: V4.0_CSD03
    • Component/s: Data Aggregation
    • None
    • Environment:

      Applied

    • Hide

      Change the current syntax in section 3.1.4 to

      aggregateExpression
        from groupableProperty_1 with aggregationMethod_1 [ with aggregationMethod_1 ]
        ...
        from groupableProperty_n with aggregationMethod_n [ with aggregationMethod_n ]
        as alias
      
      Show
      Change the current syntax in section 3.1.4 to aggregateExpression from groupableProperty_1 with aggregationMethod_1 [ with aggregationMethod_1 ] ... from groupableProperty_n with aggregationMethod_n [ with aggregationMethod_n ] as alias
    • Show
      https://github.com/oasis-tcs/odata-abnf/pull/10 , already merged

      Current syntax:

       

      aggregateExpression    (1)
        as alias             (3)
        from groupableProperty_1 with aggregationMethod_1 [ with aggregationMethod_1 ] (2) 
        ... 
        from groupableProperty_n with aggregationMethod_n [ with aggregationMethod_n ] 
      

      It first takes (1) the standard aggregate expression followed by (3) the alias for the final aggregated value followed by (2) "from" clauses for exceptions. Since there is a certain processing order defined, which is 1, 2, 3, the syntax would express the intention more clearly, if it would be (1) (2) (3)

       

            Assignee:
            Unassigned
            Reporter:
            gerald.krause1
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: