martin-g opened a new issue, #1493:
URL: https://github.com/apache/datafusion-ballista/issues/1493

   **Describe the bug**
   
   An already completed job should not be cancellable.
   Sending a REST PATCH request for a completed job returns `"cancelled": true`
   
   **To Reproduce**
   
   ```
   $ http GET localhost:50050/api/jobs
   HTTP/1.1 200 OK
   content-length: 181
   content-type: application/json
   date: Sat, 07 Mar 2026 12:36:21 GMT
   
   [
       {
           "completed_stages": 1,
           "job_id": "L90Fivt",
           "job_name": "",
           "job_status": "Completed. Produced 1 partition containing 1 row. 
Elapsed time: 13 ms.",
           "num_stages": 1,
           "percent_complete": 100
       }
   ]
   
   $ http PATCH localhost:50050/api/job/L90Fivt
   HTTP/1.1 200 OK
   content-length: 18
   content-type: application/json
   date: Sat, 07 Mar 2026 12:36:19 GMT
   
   {
       "cancelled": true
   }
   ```
   
   **Expected behavior**
   
   The response should say `"camcelled": false`
   
   **Additional context**
   
   


-- 
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]

Reply via email to