GS_BLOCKLIST_QUERY is used to query job blocklist and exception information. This view is obtained by associating system catalogs GS_BLOCKLIST_QUERY and GS_WLM_SESSION_INFO, and deduplicating query results. If the GS_WLM_SESSION_INFO table is large, the query may take a long time.
Name |
Type |
Reference |
Description |
---|---|---|---|
unique_sql_id |
bigint |
- |
Unique query ID generated based on the query parsing tree. |
block_list |
boolean |
- |
Check whether a job is in the blocklist. |
except_num |
integer |
- |
Query the number of job exceptions. |
except_time |
timestamp |
- |
Query the time when the last job exception occurred. |
query |
text |
- |
Statement to be executed. |