mirror of https://github.com/apache/druid.git
fix bugs wtih js and card aggs
This commit is contained in:
parent
187b2beb47
commit
5955ecf032
|
@ -150,7 +150,7 @@ public class JavaScriptAggregatorFactory implements AggregatorFactory
|
|||
@Override
|
||||
public AggregatorFactory apply(String input)
|
||||
{
|
||||
return new JavaScriptAggregatorFactory(name, Arrays.asList(input), fnAggregate, fnReset, fnCombine);
|
||||
return new JavaScriptAggregatorFactory(input, Arrays.asList(input), fnAggregate, fnReset, fnCombine);
|
||||
}
|
||||
}
|
||||
);
|
||||
|
|
|
@ -156,7 +156,7 @@ public class CardinalityAggregatorFactory implements AggregatorFactory
|
|||
@Override
|
||||
public AggregatorFactory apply(String input)
|
||||
{
|
||||
return new CardinalityAggregatorFactory(name, Arrays.asList(input), byRow);
|
||||
return new CardinalityAggregatorFactory(input, Arrays.asList(input), byRow);
|
||||
}
|
||||
}
|
||||
);
|
||||
|
|
Loading…
Reference in New Issue