When you run a script in the Editor, you can select which compute group to use, if you have been granted access to one or more compute groups.
- Connect to your environment. If you have been granted access to one or more compute groups, they are available in the Compute group drop-down. These options control which compute group is set for your session.
- Select one of the following options from the Compute group menu:
- Default: The Editor uses your the default compute group, if one is specified. If a default compute group is not specified, the primary cluster is used.
- No compute group: The Editor uses the primary cluster.
- User managed: The Editor will not take any action to set a compute group for the session. Select this option if you intend to explicitly set the compute group using SQL within the script you are running.
If you define a compute group in your script that is not available (for example, compute group is disabled in the compute profile), the script returns an error.
If you don't specify a compute group in your script, the primary cluster is used.
- Individually listed compute groups: The Editor uses the selected compute group.