SET 语句
This documentation is for an unreleased version of Apache Flink. We recommend you use the latest stable version.

SET Statements #

SET statements are used to modify the configuration or list the configuration.

Run a SET statement #

SET statements can be executed in SQL CLI.

The following examples show how to run a SET statement in SQL CLI.

Flink SQL> SET 'table.planner' = 'blink';
[INFO] Session property has been set.

Flink SQL> SET;
'table.planner' = 'blink'

Syntax #

SET ('key' = 'value')?

If no key and value are specified, it just print all the properties. Otherwise, set the key with specified value.

Back to top