Shows the statuses of running or completed proc instances. Results are grouped by run ID (as returned from GPUdb.execute_proc()) and data segment ID (each invocation of the proc command on a data segment is assigned a data segment ID).
Parameters
The run ID of a specific proc instance for which the status will be returned. If a proc with a matching run ID is not found, the response will be empty. If not specified, the statuses of all executed proc instances will be returned. The default value is ‘’.
Optional parameters. Allowed keys are:
clear_complete – If set to true, if a proc instance has completed (either successfully or unsuccessfully) then its status will be cleared and no longer returned in subsequent calls. Allowed values are:
true
false
The default value is ‘false’.
run_tag – If input parameter run_id is specified, return the status for a proc instance that has a matching run ID and a matching run tag that was provided to
GPUdb.execute_proc(). If input parameter run_id is not specified, return statuses for all proc instances where a matching run tag was provided toGPUdb.execute_proc(). The default value is ‘’.
The default value is an empty dict ( ).
Returns
A dict with the following entries–
The proc names corresponding to the returned run IDs.
The string params passed to GPUdb.execute_proc() for the returned run IDs.
The binary params passed to GPUdb.execute_proc() for the returned run IDs.
The input table names passed to GPUdb.execute_proc() for the returned run IDs.
The input column names passed to GPUdb.execute_proc() for the returned run IDs, supplemented with the column names for input tables not included in the input column name map.
The output table names passed to GPUdb.execute_proc() for the returned run IDs.
The optional parameters passed to GPUdb.execute_proc() for the returned run IDs.
Overall statuses for the returned run IDs. Note that these are rollups and individual statuses may differ between data segments for the same run ID; see output parameter statuses and output parameter messages for statuses from individual data segments. Allowed values are:
running – The proc instance is currently running.
complete – The proc instance completed with no errors.
killed – The proc instance was killed before completion.
error – The proc instance failed with an error.
none – The proc instance does not have a status, i.e. it has not yet ran.
Statuses for the returned run IDs, grouped by data segment ID. Allowed values are:
running – The proc instance is currently running.
complete – The proc instance completed with no errors.
killed – The proc instance was killed before completion.
error – The proc instance failed with an error.
none – The proc instance does not have a status, i.e. it has not yet ran.
Messages containing additional status information for the returned run IDs, grouped by data segment ID.
String results for the returned run IDs, grouped by data segment ID.
Binary results for the returned run IDs, grouped by data segment ID.
Output lines for the returned run IDs, grouped by data segment ID. Allowed keys are:
stdout – Output lines from stdout.
stderr – Output lines from stderr.
Timing information for the returned run IDs, grouped by data segment ID.
Additional information.