-
Type:
Bug
-
Status:
Closed
-
Priority:
Major
-
Resolution:
Fixed
-
Affects Version/s:
None
-
-
-
-
-
Proposal:
Show
See https://www.oasis-open.org/apps/org/workgroup/odata/download.php/70631/odata-data-aggregation-ext-v4.0-csd04.docx
section 3.1.2
section 3.2.1.1, first bullet point in "Determination of U"
section 3.2.3.1, step 2.
-
Resolution:
Show
https://github.com/oasis-tcs/odata-specs/blob/bbe911bc85dfaf89d7385857c2add0db7012ea0d/odata-data-aggregation-ext/3.1%20Fundamentals%20of%20Input%20and%20Output%20Sets.md
https://github.com/oasis-tcs/odata-specs/blob/bbe911bc85dfaf89d7385857c2add0db7012ea0d/odata-data-aggregation-ext/3.2%20Basic%20Aggregation.md
The output set of a transformation has a context URL of the form Collection of Entities, but it can contain the same entity multiple times, even with conflicting properties:
GET /service/Products?$apply=
concat(compute(0.1 as Discount),
compute(0.2 as Discount))
The OData-Aggr specification is not always prepared for such situations.
groupby
What does grouping by such an ambiguous entity mean? How many items does the response to the following request contain?
GET /service/Sales?$apply=
concat(transformnested(Product,compute(0.1 as Discount)),
transformnested(Product,compute(0.2 as Discount)))
/groupby((Product/Discount))
What is the Discount in the response to the following request?
GET /service/Sales?$apply=
concat(transformnested(Product,compute(0.1 as Discount)),
transformnested(Product,compute(0.2 as Discount)))
/groupby((Product))
&$expand=Product($select=Discount)
aggregate
Aggregation considers only distinct entities, but which Discount is used in the following request?
GET /service/Sales?$apply=
concat(transformnested(Product,compute(0.1 as Discount)),
transformnested(Product,compute(0.2 as Discount)))
/aggregate(Product/Discount with max as MaxDiscount)
There are no comments yet on this issue.
{"report":{"apdex":0,"isInitial":true,"journeyId":"e553c8d6-0cef-4d94-8145-1e908e404e32","key":"jira.project.issue.view-issue","navigationType":0,"readyForUser":4498.700000286102,"redirectCount":0,"resourceLoadedEnd":4316.700000286102,"resourceLoadedStart":938.9000000953674,"resourceTiming":[{"duration":933.3000001907349,"initiatorType":"link","name":"https://issues.oasis-open.org/s/3edeca31ab9ba77980aae0809fbe7121-CDN/nu8zej/803004/aeedb5937bed650f2f0cc4ec9ceaa5d3/0a4716d29b2d5b1bdcdb168b4efc119e/_/download/contextbatch/css/_super/batch.css","startTime":938.9000000953674,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":938.9000000953674,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":1872.2000002861023,"responseStart":0,"secureConnectionStart":0},{"duration":951,"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":939.1000003814697,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":939.1000003814697,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":1890.1000003814697,"responseStart":0,"secureConnectionStart":0},{"duration":950.9000000953674,"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":939.3000001907349,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":939.3000001907349,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":1890.2000002861023,"responseStart":0,"secureConnectionStart":0},{"duration":950.9000000953674,"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":939.5,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":939.5,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":1890.4000000953674,"responseStart":0,"secureConnectionStart":0},{"duration":950.6999998092651,"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":939.7000002861023,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":939.7000002861023,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":1890.4000000953674,"responseStart":0,"secureConnectionStart":0},{"duration":1680.3000001907349,"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":939.8000001907349,"connectEnd":2393.6000003814697,"connectStart":2344.9000000953674,"domainLookupEnd":2344.9000000953674,"domainLookupStart":2344.9000000953674,"fetchStart":939.8000001907349,"redirectEnd":0,"redirectStart":0,"requestStart":2393.800000190735,"responseEnd":2620.1000003814697,"responseStart":2431.1000003814697,"secureConnectionStart":2369},{"duration":3376.7000002861023,"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":940,"connectEnd":2446.300000190735,"connectStart":2398.2000002861023,"domainLookupEnd":2398.2000002861023,"domainLookupStart":2398.2000002861023,"fetchStart":940,"redirectEnd":0,"redirectStart":0,"requestStart":2446.4000000953674,"responseEnd":4316.700000286102,"responseStart":2474.7000002861023,"secureConnectionStart":2422},{"duration":1545.5999999046326,"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":940.2000002861023,"connectEnd":2458.800000190735,"connectStart":2410.5,"domainLookupEnd":2410.5,"domainLookupStart":2410.5,"fetchStart":940.2000002861023,"redirectEnd":0,"redirectStart":0,"requestStart":2458.800000190735,"responseEnd":2485.800000190735,"responseStart":2484.4000000953674,"secureConnectionStart":2434.4000000953674},{"duration":1621.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":940.4000000953674,"connectEnd":2534.1000003814697,"connectStart":2485.7000002861023,"domainLookupEnd":2485.7000002861023,"domainLookupStart":2485.7000002861023,"fetchStart":940.4000000953674,"redirectEnd":0,"redirectStart":0,"requestStart":2534.2000002861023,"responseEnd":2561.9000000953674,"responseStart":2560.5,"secureConnectionStart":2509.7000002861023},{"duration":1697.5,"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":940.6000003814697,"connectEnd":2610.6000003814697,"connectStart":2561.800000190735,"domainLookupEnd":2561.800000190735,"domainLookupStart":2561.800000190735,"fetchStart":940.6000003814697,"redirectEnd":0,"redirectStart":0,"requestStart":2610.7000002861023,"responseEnd":2638.1000003814697,"responseStart":2636.800000190735,"secureConnectionStart":2585.9000000953674},{"duration":1755.3000001907349,"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":940.8000001907349,"connectEnd":2668.5,"connectStart":2620,"domainLookupEnd":2620,"domainLookupStart":2620,"fetchStart":940.8000001907349,"redirectEnd":0,"redirectStart":0,"requestStart":2668.6000003814697,"responseEnd":2696.1000003814697,"responseStart":2695.1000003814697,"secureConnectionStart":2644.1000003814697},{"duration":955.3000001907349,"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":941,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":941,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":1896.3000001907349,"responseStart":0,"secureConnectionStart":0},{"duration":1772.7999997138977,"initiatorType":"script","name":"https://issues.oasis-open.org/rest/api/1.0/shortcuts/803004/a29179d70fa8562374ee16707692af77/shortcuts.js?context=issuenavigation&context=issueaction","startTime":941.2000002861023,"connectEnd":2686.5,"connectStart":2638,"domainLookupEnd":2638,"domainLookupStart":2638,"fetchStart":941.2000002861023,"redirectEnd":0,"redirectStart":0,"requestStart":2686.5,"responseEnd":2714,"responseStart":2713,"secureConnectionStart":2661.9000000953674},{"duration":953,"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":1041.4000000953674,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":1041.4000000953674,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":1994.4000000953674,"responseStart":0,"secureConnectionStart":0},{"duration":2536.3999996185303,"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":1041.6000003814697,"connectEnd":3543.2000002861023,"connectStart":3495,"domainLookupEnd":3495,"domainLookupStart":3495,"fetchStart":1041.6000003814697,"redirectEnd":0,"redirectStart":0,"requestStart":3543.5,"responseEnd":3578,"responseStart":3570.6000003814697,"secureConnectionStart":3518.7000002861023},{"duration":2905.9000000953674,"initiatorType":"script","name":"https://issues.oasis-open.org/s/d41d8cd98f00b204e9800998ecf8427e-CDN/nu8zej/803004/aeedb5937bed650f2f0cc4ec9ceaa5d3/1.0/_/download/batch/jira.webresources:bigpipe-js/jira.webresources:bigpipe-js.js","startTime":1060.2000002861023,"connectEnd":3939.300000190735,"connectStart":3890.9000000953674,"domainLookupEnd":3890.9000000953674,"domainLookupStart":3890.9000000953674,"fetchStart":1060.2000002861023,"redirectEnd":0,"redirectStart":0,"requestStart":3939.300000190735,"responseEnd":3966.1000003814697,"responseStart":3965.1000003814697,"secureConnectionStart":3914.7000002861023},{"duration":2936.4000000953674,"initiatorType":"script","name":"https://issues.oasis-open.org/s/d41d8cd98f00b204e9800998ecf8427e-CDN/nu8zej/803004/aeedb5937bed650f2f0cc4ec9ceaa5d3/1.0/_/download/batch/jira.webresources:bigpipe-init/jira.webresources:bigpipe-init.js","startTime":1068.4000000953674,"connectEnd":3978,"connectStart":3929.9000000953674,"domainLookupEnd":3929.9000000953674,"domainLookupStart":3929.9000000953674,"fetchStart":1068.4000000953674,"redirectEnd":0,"redirectStart":0,"requestStart":3978.1000003814697,"responseEnd":4004.800000190735,"responseStart":4003.6000003814697,"secureConnectionStart":3953.7000002861023},{"duration":1065.3000001907349,"initiatorType":"xmlhttprequest","name":"https://issues.oasis-open.org/rest/webResources/1.0/resources","startTime":2750,"connectEnd":3784.5,"connectStart":3735.7000002861023,"domainLookupEnd":3735.7000002861023,"domainLookupStart":3735.7000002861023,"fetchStart":2750,"redirectEnd":0,"redirectStart":0,"requestStart":3784.800000190735,"responseEnd":3815.300000190735,"responseStart":3814.300000190735,"secureConnectionStart":3759.800000190735}],"threshold":1000,"fetchStart":0,"domainLookupStart":752,"domainLookupEnd":776,"connectStart":776,"connectEnd":863,"secureConnectionStart":801,"requestStart":863,"responseStart":932,"responseEnd":1068,"domLoading":937,"domInteractive":4543,"domContentLoadedEventStart":4543,"domContentLoadedEventEnd":4588,"domComplete":6289,"loadEventStart":6289,"loadEventEnd":6291,"userAgent":"Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)","marks":[],"measures":[],"correlationId":"2552caf2d6326f","effectiveType":"4g","downlink":9.1,"rtt":0,"serverDuration":180,"dbReadsTimeInMs":35,"dbConnsTimeInMs":39,"applicationHash":"4d4040e0714d65b7fffa4801569d014c0b16eaa9","experiments":[]}}