After the user profile is set up, you have a specific compute group, Standard, Analytic, or Analytic GPU as default query execution location for every session connection. This means that whenever you connect to the VantageCloud Lake system, the queries you submit are executed using the designated default compute group for the duration of the session.
In some situations, you may have access to other compute groups and may want to direct the queries to a different compute group. If so, you can modify the compute group for the session connection by using the SET command as in the following example. This command is in effect for the duration of the session or until another SET command changes the compute group.
SET SESSION COMPUTE GROUP compute_group_name;
If the user session is connected to a standard compute group, then for the duration of the session you cannot execute an APPLY table operator query necessary to execute the Python script. APPLY table operator queries fail unless the user sets the session to an analytic or analytic GPU compute group to which the user has access.