From 086683628d9e6e4736101764f5322d95c1c88abd Mon Sep 17 00:00:00 2001 From: sciocoder Date: Sun, 5 Feb 2023 23:15:28 +0100 Subject: [PATCH] fix: aggregate window fn --- Client.Linq/Internal/QueryExpressionTreeVisitor.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Client.Linq/Internal/QueryExpressionTreeVisitor.cs b/Client.Linq/Internal/QueryExpressionTreeVisitor.cs index d1f7816b4..f3a4a65ca 100644 --- a/Client.Linq/Internal/QueryExpressionTreeVisitor.cs +++ b/Client.Linq/Internal/QueryExpressionTreeVisitor.cs @@ -180,7 +180,7 @@ protected override Expression VisitMethodCall(MethodCallExpression expression) // var fn = ((ConstantExpression)expression.Arguments[3]).Value as string; Arguments.CheckNonEmptyString(fn, "fn"); - var fnVariable = _context.Variables.AddNamedVariable(new Identifier("Identifier", "mean")); + var fnVariable = _context.Variables.AddNamedVariable(new Identifier("Identifier", fn)); _context.QueryAggregator.AddAggregateWindow(everyVariable, periodVariable, fnVariable); pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy