jobs
Name
jobs
description
Table function, generating a temporary task table, which can view job information in a certain task type.
This function is used in the from clause.
syntax
jobs("type"="")
jobs(“type”=”mv”)Table structure:
mysql> desc function jobs("type"="mv");
+-------------------+------+------+-------+---------+-------+
| Field | Type | Null | Key | Default | Extra |
+-------------------+------+------+-------+---------+-------+
| Id | TEXT | No | false | NULL | NONE |
| Name | TEXT | No | false | NULL | NONE |
| MvId | TEXT | No | false | NULL | NONE |
| MvName | TEXT | No | false | NULL | NONE |
| MvDatabaseId | TEXT | No | false | NULL | NONE |
| MvDatabaseName | TEXT | No | false | NULL | NONE |
| ExecuteType | TEXT | No | false | NULL | NONE |
| RecurringStrategy | TEXT | No | false | NULL | NONE |
| Status | TEXT | No | false | NULL | NONE |
| CreateTime | TEXT | No | false | NULL | NONE |
+-------------------+------+------+-------+---------+-------+
10 rows in set (0.00 sec)
- Id: job ID.
- Name: job name.
- MvId: Materialized View ID
- MvName: Materialized View Name
- MvDatabaseId: DB ID of the materialized view
- MvDatabaseName: Name of the database to which the materialized view belongs
- ExecuteType: Execution type
- RecurringStrategy: Loop strategy
- Status: Job status
- CreateTime: Task creation time
example
- View jobs in all materialized views
mysql> select * from jobs("type"="mv");
- View job with name
inner_mtmv_75043
mysql> select * from jobs("type"="mv") where Name="inner_mtmv_75043";
keywords
jobs