Query Options for the SET Statement
You can specify the following options using the SET
statement, and those settings affect all queries issued from that session.
Some query options are useful in day-to-day operations for improving usability, performance, or flexibility.
Other query options control special-purpose aspects of Impala operation and are intended primarily for advanced debugging or troubleshooting.
Options with Boolean parameters can be set to 1 or true
to enable, or 0 or false
to turn off.
Note:
In Impala 2.0 and later, you can set query options directly through the JDBC and ODBC interfaces by using the SET
statement. Formerly, SET
was only available as a command within the impala-shell interpreter.
In Impala 2.11 and later, you can set query options for an impala-shell session by specifying one or more command-line arguments of the form --query_option=option=value
. See impala-shell Configuration Options for details.
Related information:
APPX_COUNT_DISTINCT Query Option (Impala 2.0 or higher only)
DISABLE_ROW_RUNTIME_FILTERING Query Option (Impala 2.5 or higher only)
DISABLE_STREAMING_PREAGGREGATIONS Query Option (Impala 2.5 or higher only)
DISABLE_UNSAFE_SPILLS Query Option (Impala 2.0 or higher only)
EXEC_SINGLE_NODE_ROWS_THRESHOLD Query Option (Impala 2.1 or higher only)
MAX_NUM_RUNTIME_FILTERS Query Option (Impala 2.5 or higher only)
OPTIMIZE_PARTITION_KEY_SCANS Query Option (Impala 2.5 or higher only)
PARQUET_ANNOTATE_STRINGS_UTF8 Query Option (Impala 2.6 or higher only)
PARQUET_ARRAY_RESOLUTION Query Option (Impala 2.9 or higher only)
PARQUET_FALLBACK_SCHEMA_RESOLUTION Query Option (Impala 2.6 or higher only)
RUNTIME_BLOOM_FILTER_SIZE Query Option (Impala 2.5 or higher only)
RUNTIME_FILTER_MAX_SIZE Query Option (Impala 2.6 or higher only)
RUNTIME_FILTER_MIN_SIZE Query Option (Impala 2.6 or higher only)
RUNTIME_FILTER_MODE Query Option (Impala 2.5 or higher only)
RUNTIME_FILTER_WAIT_TIME_MS Query Option (Impala 2.5 or higher only)
S3_SKIP_INSERT_STAGING Query Option (Impala 2.6 or higher only)
SCHEDULE_RANDOM_REPLICA Query Option (Impala 2.5 or higher only)
Parent topic: SET Statement