SYSTEM$GET_COMPUTE_POOL_PENDING_MAINTENANCE
functionsupportedContainer services & dev toolingRetrieves information about pending Snowflake maintenance actions for compute pools in the current account.
Syntax
SYSTEM$GET_COMPUTE_POOL_PENDING_MAINTENANCE()
Returns
- Returns a JSON object that provides an indication of whether maintenance is required and the upcoming maintenance window timeline. The JSON fields are: maintenanceRequired. Boolean field that provides an indication of whether maintenance is required. - start. Start time of the maintenance window. - end. End time of the maintenance window. - If there are no running compute pools in the Snowflake account, the function returns “No running Snowpark Container Services found.” - If there is no scheduled maintenance window, the function returns “No pending maintenance actions.”
Usage notes
- All roles have privilege to access this function.