rahil-c commented on code in PR #9695:
URL: https://github.com/apache/iceberg/pull/9695#discussion_r1731901950


##########
open-api/rest-catalog-open-api.yaml:
##########
@@ -2774,6 +3014,60 @@ components:
           additionalProperties:
             type: string
 
+    PlanTableResult:
+      type: object
+      description: If the plan has not finished return a `plan-id`. 
+        If finished, the response will contain a list of `FileScanTask`, a 
list of `PlanTask`, or both.
+      properties:
+        file-scan-tasks:
+          type: array
+          items:
+            $ref: '#/components/schemas/FileScanTask'
+        plan-tasks:
+          type: array
+          items:
+              $ref: '#/components/schemas/PlanTask'
+        plan-id:
+            description: id used to track progress of the plan
+            type: string
+
+    GetTasksStatusResult:
+      type: object
+      description: If the plan has not finished return a `plan-status`.
+        If the plan has finished can return a list of `FileScanTask`, a list 
of `PlanTask`, or both.
+      properties:
+        file-scan-tasks:
+          type: array
+          items:
+            $ref: '#/components/schemas/FileScanTask'
+        plan-tasks:
+          type: array
+          items:
+            $ref: '#/components/schemas/PlanTask'
+        plan-status:
+            $ref: '#/components/schemas/PlanStatus'
+
+
+    RetrieveTasksResult:
+      type: object
+      description: Used to fetch file scan tasks for a given `planTask`. Can 
also return additional plan-tasks.
+      properties:
+        file-scan-tasks:
+          type: array
+          items:
+            $ref: '#/components/schemas/FileScanTask'
+        plan-tasks:
+          type: array
+          items:
+            $ref: '#/components/schemas/PlanTask'
+
+    CancelPlanResult:

Review Comment:
   will fix 



-- 
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: issues-unsubscr...@iceberg.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@iceberg.apache.org
For additional commands, e-mail: issues-h...@iceberg.apache.org

Reply via email to