From 51c039345561550dd975e43d9203d01560b29022 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Xavier=20L=C3=A9aut=C3=A9?= Date: Fri, 22 Nov 2013 15:35:03 -0800 Subject: [PATCH] typo --- .../druid/query/aggregation/post/JavaScriptPostAggregator.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/processing/src/main/java/io/druid/query/aggregation/post/JavaScriptPostAggregator.java b/processing/src/main/java/io/druid/query/aggregation/post/JavaScriptPostAggregator.java index d2973783b9c..fef4b26f0f2 100644 --- a/processing/src/main/java/io/druid/query/aggregation/post/JavaScriptPostAggregator.java +++ b/processing/src/main/java/io/druid/query/aggregation/post/JavaScriptPostAggregator.java @@ -57,7 +57,7 @@ public class JavaScriptPostAggregator implements PostAggregator final ScriptableObject scope = context.initStandardObjects(); - final org.mozilla.javascript.Function fn = context.compileFunction(scope, function, "aggregate", 1, null); + final org.mozilla.javascript.Function fn = context.compileFunction(scope, function, "fn", 1, null); Context.exit();