jackye1995 commented on code in PR #9695:
URL: https://github.com/apache/iceberg/pull/9695#discussion_r1488517904


##########
open-api/rest-catalog-open-api.yaml:
##########
@@ -2800,6 +3057,53 @@ components:
           additionalProperties:
             type: string
 
+    PreplanTableRequest:
+      type: object
+      required:
+        - select
+        - options
+      properties:
+        select:
+          description: A list of the selected columns
+          type: array
+          items:
+            type: string
+        project:
+          description: A list of the projections
+          type: array
+          items:
+            type: string
+        filter:
+          $ref: '#/components/schemas/Expression'
+        options:
+          type: object
+          additionalProperties:
+            type: string
+        snapshot-id:
+          type: integer
+          format: int64
+        from-snapshot-id:
+          type: integer
+          format: int64
+        to-snapshot-id:
+          type: integer
+          format: int64
+        timestamp-ms:
+          type: integer
+          format: int64
+        case-sensitive:
+          type: boolean
+
+    PlanTableRequest:
+      type: object
+      properties:
+        allOf:
+          $ref: '#/components/schemas/PreplanTableRequest'
+        plan-tasks:

Review Comment:
   I am talking about this:
   
   ```
   PlanTable w/ a plan task: POST /v1/namespaces/ns/tables/t/plan
   { "filter": {"type": "in", "term": "x", "values": [1, 2, 3] }, "select": 
["x", "a.b"], "plan-task": { ... } }
   
   { "file-scan-tasks": [ { ... }, { ... } ] }
   ```
   
   So a single plan task is in the request.



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