use of org.apache.flink.table.api.EnvironmentSettings in project flink by apache.
the class CatalogStatisticsTest method setup.
@Before
public void setup() {
EnvironmentSettings settings = EnvironmentSettings.newInstance().inBatchMode().build();
tEnv = TableEnvironment.create(settings);
catalog = tEnv.getCatalog(tEnv.getCurrentCatalog()).orElse(null);
assertNotNull(catalog);
}
Aggregations