Skip to content
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

Query: Provide a way to translate aggregate methods on top level #28102

Merged
1 commit merged into from
Jun 14, 2022
Merged

Commits on Jun 14, 2022

  1. Query: Provide a way to translate aggregate methods on top level

    To translate an aggregate operation on top level, provider would get a SelectExpression which would have facets applied and the method call with additional arguments. They should wrap the selector into EnumerableExpression (also add other facets from SelectExpression if needed), wrap into AsQueryable (if queryable method else optional) and the aggregate method over it and use SqlTranslator to translate it.
    Also exposed TranslateExpression & TranslateLambdaExpression in QueryableMethodTranslator for relational
    
    Resolves #28097
    smitpatel committed Jun 14, 2022
    Configuration menu
    Copy the full SHA
    755e540 View commit details
    Browse the repository at this point in the history