The COMPUTE GROUP built-in function returns the name of the compute group from the current session.
- A default compute group name is identified based on the following order:
- Compute group name from the session
- Compute group name from the user profile
- Compute group name from the user
A NULL value is returned, if the compute group name is not found.
Example
SELECT COMPUTE GROUP;
*** Query completed. One row found. One column returned.
ComputeGroup
---------------------------------------------------------------------------
SHIPPING