evaluator.getArgs().set("datastructure", Indices.DATA_STRUCT.HASHMAP);
evaluator.init();
evaluator.compileQuery(sub.getQuery());
evaluator.logicalOptimization();
evaluator.physicalOptimization();
if (evaluator.getRootNode() instanceof Stream) {
Stream stream = (Stream) evaluator.getRootNode();
stream.addNotifyStreamResult(notifyStreamResult);
stream.sendMessage(new StartOfEvaluationMessage());
return stream;