Fix map() function to be recognised as an aggregate function from new SQL executor
Resolves:
@@ -88,6 +88,11 @@ public class OSQLFunctionMap extends OSQLFunctionMultiValueAbstract<Map<Object,
return configuredParameters.length <= 2;
}
+ @Override
+ public boolean aggregateResults() {
+ return configuredParameters.length <= 2;
+ }
+
@Override
public Map<Object, Object> getResult() {
final Map<Object, Object> res = context;
