Set<Integer> argCounts = Sets.newHashSet();
String name = function.getKey().toUpperCase();
for (DrillFuncHolder f : function.getValue()) {
if (argCounts.add(f.getParamCount())) {
if (f.isAggregating()) {
op = new DrillSqlAggOperator(name, f.getParamCount());
} else {
op = new DrillSqlOperator(name, f.getParamCount());
}
operatorTable.add(function.getKey(), op);
}