SET Statements
SET statements are used to modify the configuration or list the configuration.
SET语句用于修改配置或列出配置。
Run a SET statement
SQL CLI
SET statements can be executed in SQL CLI.
SET语句可以在SQL CLI中执行。
The following examples show how to run a SET statement in SQL CLI.
以下示例显示了如何在SQL CLI中运行SET语句。
Flink SQL> SET 'table.local-time-zone' = 'Europe/Berlin';
[INFO] Session property has been set.
Flink SQL> SET;
'table.local-time-zone' = 'Europe/Berlin'
Syntax
SET ('key' = 'value')?
If no key and value are specified, it just prints all the properties. Otherwise, set the key with specified value.
如果未指定键和值,则只打印所有属性。否则,请使用指定值设置键。