rahil-c commented on code in PR #9695:
URL: https://github.com/apache/iceberg/pull/9695#discussion_r1522320972
##########
open-api/rest-catalog-open-api.yaml:
##########
@@ -3804,6 +4016,21 @@ components:
}
}
+ UnprocessableEntityResponse:
+ description:
+ Service can not process entity.
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/schemas/IcebergErrorResponse'
+ example: {
+ "error": {
+ "message": " Unprocessable entity, please call PreplanTable to
distribute table scan planning.",
Review Comment:
will fix
##########
open-api/rest-catalog-open-api.yaml:
##########
@@ -2838,6 +2978,63 @@ components:
additionalProperties:
type: string
+ PreplanTableRequest:
+ type: object
+ required:
+ - select
+ - filter
+ - case-sensitive
+ properties:
+ select:
+ description: A list of the selected column names
+ type: array
+ items:
+ type: string
+ filter:
+ $ref: '#/components/schemas/Expression'
+ case-sensitive:
+ description: Indicates whether column selection and filtering should
be case sensitive
+ type: boolean
+ snapshot-id:
+ description: an int64 snapshot ID (if snapshot-range is not
present); optional and defaults to the table's current snapshot
+ type: integer
+ format: int64
+ snapshot-range:
+ description: a JSON list containing exactly 2 int64 snapshot IDs (if
snapshot-id is not present) representing the start (defaults to exclusive, see
`start-exclusive`) and end (only inclusive) snapshots
+ type: array
+ items:
+ type: integer
+ format: int64
+ start-exclusive:
+ description: Indicates whether the user wants the start of
`snapshot-range` to be inclusive or exclusive
+ type: boolean
+ default: true
+
+ PlanTableRequest:
+ type: object
+ required:
+ - select
+ - filter
+ - case-sensitive
+ properties:
+ select:
+ description: A list of the selected column names
Review Comment:
Is your original suggestion in the scan proposal google doc as a comment?
If you can share it here as a comment would be helpful
--
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]