BatchTableEnvironment.getTableEnvironment(env);
import org.apache.flink.table.api.*; import static org.apache.flink.table.api.Expressions.*; EnvironmentSettings settings = EnvironmentSettings.newInstance().inStreamingMode().build(); TableEnvironment tEnv = TableEnvironment.create(env);
BatchTableEnvironment.create(env);
你使用的是哪个版本的,我的没有过时呀