GS_BLOCKLIST_SQL is used to query job blocklist and exception information. This view is obtained by associating system catalogs GS_BLOCKLIST_SQL 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.
This view is supported only by 9.1.0.200 and later cluster versions.
Column |
Type |
Reference |
Description |
|---|---|---|---|
sql_hash |
Text |
N/A |
sql_hash generated based on the query parsing tree. |
block_list |
Boolean |
N/A |
Whether a job is in the blocklist. |
except_num |
Integer |
N/A |
Number of job exceptions. |
except_time |
Timestamp |
N/A |
Time when the last job exception occurred. |
query |
Text |
N/A |
Statement to be executed. |