streamBuilder.addEvent("3,-4");
StreamSymbol stream = streamBuilder.build();
getSymbolTable().addSymbol(stream);
// Register the 'max2' function we use in some tests.
ScalarFunc max2Func = new max2();
getSymbolTable().addSymbol(new FnSymbol("max2", max2Func, max2Func.getReturnType(),
max2Func.getArgumentTypes(), max2Func.getVarArgTypes()));
// Register the 'concatstrs' function we use in some tests.
ScalarFunc strcatFunc = new concatstrs();
getSymbolTable().addSymbol(new FnSymbol("concatstrs", strcatFunc, strcatFunc.getReturnType(),
strcatFunc.getArgumentTypes(), strcatFunc.getVarArgTypes()));
getConf().set(SelectStmt.CLIENT_SELECT_TARGET_KEY, "testSelect");
// With all configuration complete, connect to the environment.
LocalEnvironment env = getEnvironment();