This documentation is for an out-of-date 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.local-time-zone' = 'Europe/Berlin'; [INFO] Session property has been set. Flink SQL> SET; 'table.local-time-zone' = 'Europe/Berlin'
SET ('key' = 'value')?
If no key and value are specified, it just prints all the properties. Otherwise, set the key with specified value.