LOAD statements are used to load a built-in or user-defined module.
LOAD语句用于加载内置或用户定义的模块。
Java
LOAD statements can be executed with the executeSql() method of the TableEnvironment. The executeSql() method returns ‘OK’ for a successful LOAD operation; otherwise, it will throw an exception.
LOAD语句可以使用TableEnvironment的executeSql()方法执行。对于成功的LOAD操作,executeSql()方法返回“OK”;否则,它将抛出异常。
The following examples show how to run a LOAD statement in TableEnvironment.
以下示例显示了如何在TableEnvironment中运行LOAD语句。
StreamExecutionEnvironment env = StreamExecutionEnvironment.getExecutionEnvir