SET and SHOW
The SET statement configures session options. The SHOW statement displays their current values.
Syntax
SET statement:
SET <option> TO <value>;
|
The For options that accept boolean values, |
SHOW statement:
SHOW <option>;
Available options:
-
extra_float_digits: Number of extra digits displayed after the decimal point in floating-point numbers. -
application_name: Custom name for the application. -
timezone: Time zone used for date and time functions. -
client_min_messages: Minimum message level sent to the client. Valid values:DEBUG5,DEBUG4,DEBUG3,DEBUG2,DEBUG1,LOG,NOTICE,WARNING, andERROR. -
search_path: Namespaces in which Redpanda SQL looks for tables. -
oxla.enable_fast_math: Enables math optimizations that trade precision for speed using faster, less accurate functions.
Examples
SET statement
extra_float_digits
To change the number of displayed digits for floating-point values, run the query:
SET extra_float_digits TO 2;
SHOW extra_float_digits;
extra_float_digits
--------------------
2