Clarify datatype of virtual property $count

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

      Applied

    • Hide

      If no argument speaks for keeping Edm.Decimal, the proposal is to align both features by assigning Edm.Int64 also to the virutal property $count.

      Show
      If no argument speaks for keeping Edm.Decimal, the proposal is to align both features by assigning Edm.Int64 also to the virutal property $count.

      In the Data Aggregation extension, the virtual property $count has type Edm.Decimal (http://docs.oasis-open.org/odata/odata-data-aggregation-ext/v4.0/cs02/odata-data-aggregation-ext-v4.0-cs02.html#_Toc435016573). In contrast the JSON Format specification states that the result of the system query option has type Edm.Int64 (http://docs.oasis-open.org/odata/odata-json-format/v4.0/os/odata-json-format-v4.0-os.html#_Toc372793054).

      Since aggregation rather reduces the number of entities in a result collection, question is whether there is some unmentioned reason for this discrepancy.

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

              Created:
              Updated:
              Resolved: