This statement is mainly used to modify Doris system variables. These system variables can be modified at the global and session level, and some can also be modified dynamically. You can also view these system variables with .

    grammar:

    1. variable_assignment: user_var_name = expr | [GLOBAL | SESSION] system_var_name = expr

    Variables that support both the current session and the global effect include:

    • time_zone
    • wait_timeout
    • sql_mode
    • query_timeout
    • exec_mem_limit
    • allow_partition_column_nullable
    • insert_visible_timeout_ms
    • enable_fold_constant_by_be
    1. Set the global execution memory size