SET Statements

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

Run a SET statement

SQL CLI

SET statements can be executed in SQL CLI.

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

SQL CLI

  1. Flink SQL> SET 'table.local-time-zone' = 'Europe/Berlin';
  2. [INFO] Session property has been set.
  3. Flink SQL> SET;
  4. 'table.local-time-zone' = 'Europe/Berlin'

Syntax

  1. SET ('key' = 'value')?

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