Sorry for my rant...fairly new. Felt lost. The one (StreamTableEnvironment) from java needs to use the constructor: StreamTableEnvironment(StreamExecutionEnvironment execEnv, TableConfig config) .
Now it works. Thanks. Still confused...why BatchTableEnvironment tEnv = TableEnvironment.getTableEnvironment(env); works? Even it could have some same compiling error sometimes. -- Sent from: http://apache-flink-user-mailing-list-archive.2336050.n4.nabble.com/