SET Statements

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