Get a list of the current jobs in GPUdb.
Parameters
Optional parameters. Allowed keys are:
show_async_jobs – If true, then the completed async jobs are also included in the response. By default, once the async jobs are completed they are no longer included in the jobs list. Allowed values are:
true
false
The default value is ‘false’.
show_worker_info – If true, then information is also returned from worker ranks. By default only status from the head rank is returned. Allowed values are:
true
false
The default value is an empty dict ( ).
Returns
A dict with the following entries–
The identifiers of the running or completed jobs.
The current status of each job.
The endpoint each job is executing (e.g. “/insert/records”).
The epoch time, in milliseconds, at which each job was received.
The identifier of the submitting or execute-as user for each job.
The IP address from which each job request originated.
The text of the query associated with each job, when applicable.
Arbitrary user-provided data associated with each job.
Flags associated with each job.
Additional information. Allowed keys are:
job_tag – The job tag specified by the user or if unspecified by user, an internally generated unique identifier for the job across clusters.
worker_info – Worker job information as JSON.
The default value is an empty dict ( ).