martin-g opened a new issue, #1509: URL: https://github.com/apache/datafusion-ballista/issues/1509
**Describe the bug** `http GET localhost:50050/api/jobs` returns an array of jobs but the order of the jobs is random on each execution of this REST request. **To Reproduce** Create several jobs, e.g. by issuing `SELECT 1` in ballista-cli. Issue `http GET localhost:50050/api/jobs | jq .[].job_id` several times and see how the job ids are returned in different order. **Expected behavior** I expect the REST API to return the jobs in the same order as they were created/registered at the server side. The JSON response does not contain creation time, so I cannot sort them on the client side. **Additional context** The TUI app refreshes the view on every N seconds and the unstable order of the jobs shuffles them in the table. This makes it hard to select a job and execute actions on it (e.g. cancel a job, view more details, etc.) -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
