-
Proposal:
Hide
Ex 60: Replace
GET ~/Products?$apply=groupby((Name),aggregate(Sales/$count as SalesCount))
with
GET ~/Products?$apply=groupby((Name),aggregate(Sales/$count with sum as SalesCount))
Ex 61: Replace
GET ~/Products?$apply=groupby((Name),aggregate(Sales/$count as SalesCount,Sales(Amount with sum as TotalAmount)))
with
GET ~/Products?$apply=groupby((Name),aggregate(Sales/$count with sum as SalesCount,Sales(Amount with sum as TotalAmount)))
Show
Ex 60: Replace
GET ~/Products?$apply=groupby((Name),aggregate(Sales/$count as SalesCount))
with
GET ~/Products?$apply=groupby((Name),aggregate(Sales/$count with sum as SalesCount))
Ex 61: Replace
GET ~/Products?$apply=groupby((Name),aggregate(Sales/$count as SalesCount, Sales(Amount with sum as TotalAmount)))
with
GET ~/Products?$apply=groupby((Name),aggregate(Sales/$count with sum as SalesCount, Sales(Amount with sum as TotalAmount)))
The examples make use of $count applied to a path expression in an aggregate expression without specifying an aggregation method, e.g. aggregate(Sales/$count as SalesCount)
This syntax construct and its semantics has been introduced in the Core specification, section 11.2.6.1 System Query Option $filter and must not be confused with the virtual property $count defined in the Data Aggregation extension specification, section 3.1.5 Virtual Property $count. It represents a common expression that, if used in the aggregate transformation, must be complemented with an aggregation method.
{"report":{"apdex":0.5,"isInitial":true,"journeyId":"b33f5f0c-57b1-4d39-9015-5eceafb02ba9","key":"jira.project.issue.view-issue","navigationType":0,"readyForUser":1154.9000000953674,"redirectCount":0,"resourceLoadedEnd":1507.0999999046326,"resourceLoadedStart":573.5,"resourceTiming":[{"duration":211.59999990463257,"initiatorType":"link","name":"https://issues.oasis-open.org/s/3edeca31ab9ba77980aae0809fbe7121-CDN/nu8zej/803004/aeedb5937bed650f2f0cc4ec9ceaa5d3/0a4716d29b2d5b1bdcdb168b4efc119e/_/download/contextbatch/css/_super/batch.css","startTime":573.5,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":573.5,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":785.0999999046326,"responseStart":0,"secureConnectionStart":0},{"duration":211.5,"initiatorType":"link","name":"https://issues.oasis-open.org/s/7d2823769c2e7b66e860863fe879b7f8-CDN/nu8zej/803004/aeedb5937bed650f2f0cc4ec9ceaa5d3/9aebb1c0aaa4c36289529757ec9dbb54/_/download/contextbatch/css/project.issue.navigator,jira.view.issue,jira.global,atl.general,-_super/batch.css?agile_global_admin_condition=true&jag=true&jira.create.linked.issue=true&richediton=true","startTime":573.9000000953674,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":573.9000000953674,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":785.4000000953674,"responseStart":0,"secureConnectionStart":0},{"duration":211.5,"initiatorType":"link","name":"https://issues.oasis-open.org/s/d41d8cd98f00b204e9800998ecf8427e-CDN/nu8zej/803004/aeedb5937bed650f2f0cc4ec9ceaa5d3/8.0.5/_/download/batch/com.atlassian.auiplugin:split_aui.pattern.label/com.atlassian.auiplugin:split_aui.pattern.label.css","startTime":574.0999999046326,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":574.0999999046326,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":785.5999999046326,"responseStart":0,"secureConnectionStart":0},{"duration":211.40000009536743,"initiatorType":"link","name":"https://issues.oasis-open.org/s/645acc233eb869f48a571293b8358a7d-CDN/nu8zej/803004/aeedb5937bed650f2f0cc4ec9ceaa5d3/1.0/_/download/batch/jira.webresources:global-static-adgs/jira.webresources:global-static-adgs.css","startTime":574.2999997138977,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":574.2999997138977,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":785.6999998092651,"responseStart":0,"secureConnectionStart":0},{"duration":211.2999997138977,"initiatorType":"link","name":"https://issues.oasis-open.org/s/a0dd6509771c1de0667aae5429c04cda-CDN/nu8zej/803004/aeedb5937bed650f2f0cc4ec9ceaa5d3/1.0/_/download/batch/jira.webresources:global-static/jira.webresources:global-static.css","startTime":574.5,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":574.5,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":785.7999997138977,"responseStart":0,"secureConnectionStart":0},{"duration":258.7000002861023,"initiatorType":"script","name":"https://issues.oasis-open.org/s/e5479157e7a0c08b005e6522f2f04104-CDN/nu8zej/803004/aeedb5937bed650f2f0cc4ec9ceaa5d3/0a4716d29b2d5b1bdcdb168b4efc119e/_/download/contextbatch/js/_super/batch.js?locale=en-US","startTime":574.6999998092651,"connectEnd":574.6999998092651,"connectStart":574.6999998092651,"domainLookupEnd":574.6999998092651,"domainLookupStart":574.6999998092651,"fetchStart":574.6999998092651,"redirectEnd":0,"redirectStart":0,"requestStart":574.6999998092651,"responseEnd":833.4000000953674,"responseStart":833.4000000953674,"secureConnectionStart":574.6999998092651},{"duration":286.6000003814697,"initiatorType":"script","name":"https://issues.oasis-open.org/s/83514d5d4e8543747b02042eafcdc99c-CDN/nu8zej/803004/aeedb5937bed650f2f0cc4ec9ceaa5d3/9aebb1c0aaa4c36289529757ec9dbb54/_/download/contextbatch/js/project.issue.navigator,jira.view.issue,jira.global,atl.general,-_super/batch.js?agile_global_admin_condition=true&jag=true&jira.create.linked.issue=true&locale=en-US&richediton=true","startTime":575.2999997138977,"connectEnd":575.2999997138977,"connectStart":575.2999997138977,"domainLookupEnd":575.2999997138977,"domainLookupStart":575.2999997138977,"fetchStart":575.2999997138977,"redirectEnd":0,"redirectStart":0,"requestStart":575.2999997138977,"responseEnd":861.9000000953674,"responseStart":861.9000000953674,"secureConnectionStart":575.2999997138977},{"duration":288.69999980926514,"initiatorType":"script","name":"https://issues.oasis-open.org/s/70bb2263e59e7e1f04fbd137c80b895b-CDN/nu8zej/803004/aeedb5937bed650f2f0cc4ec9ceaa5d3/aae1242f5fc81cc6a5bb8bc963ccda29/_/download/contextbatch/js/atl.global,-_super/batch.js?locale=en-US","startTime":575.5,"connectEnd":575.5,"connectStart":575.5,"domainLookupEnd":575.5,"domainLookupStart":575.5,"fetchStart":575.5,"redirectEnd":0,"redirectStart":0,"requestStart":575.5,"responseEnd":864.1999998092651,"responseStart":864.1999998092651,"secureConnectionStart":575.5},{"duration":289.5,"initiatorType":"script","name":"https://issues.oasis-open.org/s/d41d8cd98f00b204e9800998ecf8427e-CDN/nu8zej/803004/aeedb5937bed650f2f0cc4ec9ceaa5d3/1.0/_/download/batch/jira.webresources:calendar-en/jira.webresources:calendar-en.js","startTime":575.5999999046326,"connectEnd":575.5999999046326,"connectStart":575.5999999046326,"domainLookupEnd":575.5999999046326,"domainLookupStart":575.5999999046326,"fetchStart":575.5999999046326,"redirectEnd":0,"redirectStart":0,"requestStart":575.5999999046326,"responseEnd":865.0999999046326,"responseStart":865.0999999046326,"secureConnectionStart":575.5999999046326},{"duration":290.1000003814697,"initiatorType":"script","name":"https://issues.oasis-open.org/s/d41d8cd98f00b204e9800998ecf8427e-CDN/nu8zej/803004/aeedb5937bed650f2f0cc4ec9ceaa5d3/1.0/_/download/batch/jira.webresources:calendar-localisation-moment/jira.webresources:calendar-localisation-moment.js","startTime":575.7999997138977,"connectEnd":575.7999997138977,"connectStart":575.7999997138977,"domainLookupEnd":575.7999997138977,"domainLookupStart":575.7999997138977,"fetchStart":575.7999997138977,"redirectEnd":0,"redirectStart":0,"requestStart":575.7999997138977,"responseEnd":865.9000000953674,"responseStart":865.9000000953674,"secureConnectionStart":575.7999997138977},{"duration":290.2999997138977,"initiatorType":"script","name":"https://issues.oasis-open.org/s/cda37faab827dbdf305de8efe8282062-CDN/nu8zej/803004/aeedb5937bed650f2f0cc4ec9ceaa5d3/8.0.5/_/download/batch/com.atlassian.auiplugin:split_aui.pattern.label/com.atlassian.auiplugin:split_aui.pattern.label.js?locale=en-US","startTime":576,"connectEnd":576,"connectStart":576,"domainLookupEnd":576,"domainLookupStart":576,"fetchStart":576,"redirectEnd":0,"redirectStart":0,"requestStart":576,"responseEnd":866.2999997138977,"responseStart":866.2999997138977,"secureConnectionStart":576},{"duration":398.19999980926514,"initiatorType":"link","name":"https://issues.oasis-open.org/s/07245784f53abc49bad9d9d4d36c577a-CDN/nu8zej/803004/aeedb5937bed650f2f0cc4ec9ceaa5d3/cadc4f20cc5c138dee060d42cf85f220/_/download/contextbatch/css/jira.global.look-and-feel,-_super/batch.css","startTime":576.0999999046326,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":576.0999999046326,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":974.2999997138977,"responseStart":0,"secureConnectionStart":0},{"duration":290.5,"initiatorType":"script","name":"https://issues.oasis-open.org/rest/api/1.0/shortcuts/803004/a29179d70fa8562374ee16707692af77/shortcuts.js?context=issuenavigation&context=issueaction","startTime":576.2999997138977,"connectEnd":576.2999997138977,"connectStart":576.2999997138977,"domainLookupEnd":576.2999997138977,"domainLookupStart":576.2999997138977,"fetchStart":576.2999997138977,"redirectEnd":0,"redirectStart":0,"requestStart":576.2999997138977,"responseEnd":866.7999997138977,"responseStart":866.7999997138977,"secureConnectionStart":576.2999997138977},{"duration":370.6000003814697,"initiatorType":"link","name":"https://issues.oasis-open.org/s/f77fd89aa211a76b20e9b0e63564383c-CDN/nu8zej/803004/aeedb5937bed650f2f0cc4ec9ceaa5d3/4a9288299d147101bf66484f4be48925/_/download/contextbatch/css/com.atlassian.jira.projects.sidebar.init,-_super,-jira.view.issue,-project.issue.navigator/batch.css?jira.create.linked.issue=true&richediton=true","startTime":603.7999997138977,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":603.7999997138977,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":974.4000000953674,"responseStart":0,"secureConnectionStart":0},{"duration":263.30000019073486,"initiatorType":"script","name":"https://issues.oasis-open.org/s/41525c48ddceeb9b11e54085268fc285-CDN/nu8zej/803004/aeedb5937bed650f2f0cc4ec9ceaa5d3/4a9288299d147101bf66484f4be48925/_/download/contextbatch/js/com.atlassian.jira.projects.sidebar.init,-_super,-jira.view.issue,-project.issue.navigator/batch.js?jira.create.linked.issue=true&locale=en-US&richediton=true","startTime":604.0999999046326,"connectEnd":604.0999999046326,"connectStart":604.0999999046326,"domainLookupEnd":604.0999999046326,"domainLookupStart":604.0999999046326,"fetchStart":604.0999999046326,"redirectEnd":0,"redirectStart":0,"requestStart":604.0999999046326,"responseEnd":867.4000000953674,"responseStart":867.4000000953674,"secureConnectionStart":604.0999999046326}],"threshold":1000,"fetchStart":0,"domainLookupStart":467,"domainLookupEnd":467,"connectStart":467,"connectEnd":516,"secureConnectionStart":491,"requestStart":516,"responseStart":565,"responseEnd":635,"domLoading":569,"domInteractive":1522,"domContentLoadedEventStart":1522,"domContentLoadedEventEnd":1565,"domComplete":1964,"loadEventStart":1964,"loadEventEnd":1967,"userAgent":"Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)","marks":[],"measures":[],"correlationId":"e7fc1f74cbbf9c","effectiveType":"4g","downlink":10,"rtt":0,"serverDuration":93,"dbReadsTimeInMs":12,"dbConnsTimeInMs":14,"applicationHash":"4d4040e0714d65b7fffa4801569d014c0b16eaa9","experiments":[]}}
Duplicate of
ODATA-1255