fix bugs wtih js and card aggs

This commit is contained in:
fjy 2014-06-09 22:31:30 -07:00
parent 187b2beb47
commit 5955ecf032
2 changed files with 2 additions and 2 deletions

View File

@ -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);
}
}
);

View File

@ -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);
}
}
);