-
Notifications
You must be signed in to change notification settings - Fork 349
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support for GroupBy and Aggregate at OData Client #596
Comments
@jvitor83, I updated this issue. Currently, OData client doesn't support aggregate.We would like to have it to be fixed in the ODataLib, but at this point we are spending all resources on a breaking changes release that have a hard deadline. So we want to know the priority of these issues on your side. We would happily accept your pull requests as well. So if you have time to implement this feature, we'd love to merge it into the library. |
+1 OData has been great, but in order to meet new requirements we need aggregation or we'll have to implement something outside of OData. |
Has there been any movement on this issue? Are there plans to include grouping functionality in the client? |
Hello, is there any update on this issue? |
Support for this feature is being added by the following PR: #1925 |
Fixed by #1925 |
Actually the Microsoft OData Clients for .NET "OData Connected Service or OData v4 Client Code Generator" (Microsoft.OData.Client.dll[DataServiceQuery]) don't support making groupby and aggregate queries to consume the OData v4 service which already has support for those (See addicional details).
Assemblies affected
Microsoft.OData.Client.dll
Reproduce steps
Expected result
http://localhost/odata/Users?$apply=groupby((Login));
Actual result
It throws "An unhandled exception of type 'System.NotSupportedException' occurred in Microsoft.OData.Client.dll - The method 'GroupBy' is not supported".
Additional details
Support for group by and aggregation on the service - OData/WebApi#70
The text was updated successfully, but these errors were encountered: