RESET Statement

Important

Confluent Cloud for Apache Flink®️ is currently available for Preview. A Preview feature is a Confluent Cloud component that is being introduced to gain early feedback from developers. Preview features can be used for evaluation and non-production testing purposes or to provide feedback to Confluent. The warranty, SLA, and Support Services provisions of your agreement with Confluent do not apply to Preview features. Confluent may discontinue providing Preview releases of the Preview features at any time in Confluent’s sole discretion. Check out Getting Help for questions, feedback and requests.

For Flink SQL features and limitations in the preview program, see Notable Limitations in Public Preview.

Confluent Cloud for Apache Flink®️ enables resetting Flink SQL shell properties to default values.

Syntax

RESET 'key';

Description

Reset the Flink SQL shell configuration to the default settings.

If no key is specified, all properties are set to their default values.

To assign a session property, use the SET Statement.

Example

The following examples show how to run a RESET statement in the Flink SQL shell.

RESET 'table.local-time-zone';

Your output should resemble:

configuration key "table.local-time-zone" has been reset successfully.
+------------------------+---------------------+
|          Key           |        Value        |
+------------------------+---------------------+
| client.service-account | <unset> (default)   |
| sql.local-time-zone    | GMT+02:00 (default) |
+------------------------+---------------------+
RESET;
configuration has been reset successfully.
+------------------------+---------------------+
|          Key           |        Value        |
+------------------------+---------------------+
| client.service-account | <unset> (default)   |
| sql.local-time-zone    | GMT+02:00 (default) |
+------------------------+---------------------+