All Products
Search
Document Center

MaxCompute:Configure MaxCompute Studio

Last Updated:Mar 26, 2026

After installing MaxCompute Studio, open the Settings dialog box in IntelliJ IDEA by choosing File > Settings... from the main menu bar. Click MaxCompute Studio in the left-side navigation pane to access the configuration sections described below.

MaxCompute Studio settings

The following settings appear when you click MaxCompute Studio in the left-side navigation pane.

General settings

SettingDescriptionDefault
Local meta store locationLocal path for storing MaxCompute project metadata..odps.studio\meta
Table preview rowsMaximum number of rows shown when previewing a table.
Local directory for jobsLocal path for storing MaxCompute Studio job data. If you keep the default, make sure the path .odps.studio\job exists and MaxCompute Studio has write permissions on it — otherwise an error occurs when you confirm the configuration..odps.studio\job
Python path to resolve UDFLocal installation path of Python, used for resolving user-defined functions (UDFs).

Updates checking

SettingDescriptionDefault
Automatically checks for new versionEnables MaxCompute Studio to check for updates on startup. Disable this only if you manage plugin versions manually.Selected
Check new versionsClick this button to check for updates immediately. If a newer version is available, an Install latest version button appears. After installation, restart IntelliJ IDEA to apply the update.

SDK & Console settings

In the Settings dialog box, choose MaxCompute Studio > SDK & Console in the left-side navigation pane.

SettingDescriptionDefault
Installed LocationLocal installation path of the MaxCompute client. MaxCompute Studio auto-detects the client version at this path. If no client is found, an error message is returned. Leave this blank if the version of MaxCompute Studio is later than V2.6.1 — the latest MaxCompute client is installed automatically. Specify a path only if you need a particular client version.

MaxCompute SQL settings

In the Settings dialog box, choose MaxCompute Studio > MaxCompute SQL in the left-side navigation pane.

Color and annotator

SettingDescriptionDefault
Enable syntax coloringEnables syntax highlighting in the SQL editor.

Code completion

SettingDescriptionDefault
Enable code completionEnables automatic code completion as you type.
Invoke code completion when you enter a spaceWhen selected, pressing Space disables automatic code completion at that position.

Code formatting

SettingDescriptionDefault
Enable code formattingEnables automatic code formatting.
Enable code foldingEnables code folding in the SQL editor.

Script submit

SettingDescriptionDefault
Show job detail when script submittedDisplays job details each time you submit a script.
Record sql history when script submittedRecords the execution history of SQL statements when you submit a script.
Show sql cost confirm dialog when script submittedPrompts you to confirm the execution cost before the script runs.
Pin sql execution result tab by defaultKeeps the SQL Execution Result tab locked by default.
Ignore local compile error when submit scriptSkips local compilation errors when submitting a script. Optional.
Use tunnel to download query acceleration resultUses Tunnel to download query acceleration results. Optional.

Job Name controls how jobs are named at submission time:

OptionBehavior
use script file name as defaultUses the script file name as the job name.
input job name when first submitPrompts for a job name the first time you submit a job.
input job name for every submitPrompts for a job name every time you submit a job.

Compile | Submit

These are global compiler defaults. Override them per file in the SQL compiler toolbar.

Compiler mode determines the unit of compilation and submission:

ModeBehavior
Statement ModeCompiles and submits each SQL statement individually.
Script ModeCompiles and submits the entire SQL file as a single unit. Allows the compiler and optimizer to optimize the execution plan, improving overall execution efficiency.

Data type edition sets the type system used:

EditionDescription
Legacy TypeSystemUses the MaxCompute V1.0 data type edition.
MaxCompute TypeSystemUses the MaxCompute V2.0 data type edition.
Hive Compatible TypeSystemUses the Hive-compatible data type edition based on MaxCompute V2.0.

Compiler sets the query execution strategy:

OptionBehavior
DefaultUses the default MaxCompute Studio compiler.
UseShortQueryAccelerationUses the query acceleration compiler.
FallbackWhenFailedUses the compiler that reruns jobs if query acceleration fails.

MaxCompute Job settings

In the Settings dialog box, choose MaxCompute Studio > MaxCompute Job in the left-side navigation pane.

SettingDescriptionDefault
Maximum jobs shown in job explorer table listMaximum number of jobs displayed on the Job Explorer page.1,000
Reset filter when switch MaxCompute projectResets job filters automatically when you switch between MaxCompute projects.
Cache history instance in local databaseCaches historical instance information in the local database for faster access.

Accounts settings

In the Settings dialog box, choose MaxCompute Studio > Accounts in the left-side navigation pane.

MaxCompute Studio uses the accounts configured here to access MaxCompute projects and run jobs. Currently, the supported authentication method is Aliyun Account By AccessKey, which works for both Alibaba Cloud accounts and RAM users. For background on authentication, see User authentication.

Add an account

  1. In the right-side navigation pane, choose + > Aliyun Account By AccessKey.

  2. In the Add MaxCompute Account dialog box, configure the following:

    ParameterDescription
    Account NameDisplay name for the account in MaxCompute Studio. For an Alibaba Cloud account such as user_****@test.aliyun.com, enter user_test. For a RAM user such as user_ram@xxxxx.onaliyun.com that belongs to user_****@test.aliyun.com, enter user_****:user_ram.
    Using properties fileReads the AccessKey ID and AccessKey secret from the odps_config.ini configuration file (used when odpscmd or MaxCompute Studio is already configured). Make sure the odps_config.ini file is available before selecting this option.
    Using propertiesManually enter the AccessKey ID and AccessKey secret. Select either this option or Using properties file.
    Access IdThe AccessKey ID of the Alibaba Cloud account or RAM user.
    Access KeyThe AccessKey secret of the Alibaba Cloud account or RAM user.
  3. Click OK. The account appears in the account list.

Remove an account

Removing an account from MaxCompute Studio does not affect the underlying Alibaba Cloud account or RAM user.

  1. Select the account in the account list.

  2. Click - in the right-side navigation pane.

  3. Click OK to confirm.

Modify account credentials

  1. Select the account in the account list.

  2. Click the 修改 icon in the right-side navigation pane.

  3. In the Edit MaxCompute Account dialog box, update the following:

    ParameterDescription
    Access IdEnter the new AccessKey ID.
    Access KeyEnter the new AccessKey secret.
  4. Click OK.