All Products
Search
Document Center

MaxCompute:SET operations

Last Updated:Mar 26, 2026

Use SET operations to configure and inspect system variables for the current MaxCompute session. Session-level variables apply only to the current session. To configure properties at the project level instead, see Configure project properties.

The following statements are available:

StatementDescriptionRequired role
SETConfigures system variables for the current sessionUsers who have operation permissions on projects
SHOW FLAGSDisplays the properties that you configured by using the SET statement

Run these statements on any of the following platforms:

SET

Sets a system variable for the current session.

Syntax

SET <KEY>=<VALUE>

Parameters

ParameterDescription
KEYThe name of the property. For available flag names and their accepted values, see Flag parameters.
VALUEThe value to assign to the property.

Example

-- Set the size of data read by each Mapper to 256 MB.
SET odps.stage.mapper.split.size=256;

SHOW FLAGS

Displays the properties that you configured by using the SET statement.

Syntax

SHOW flags;