rdblue commented on code in PR #5407:
URL: https://github.com/apache/iceberg/pull/5407#discussion_r967896434
##########
open-api/rest-catalog-open-api.yaml:
##########
@@ -1630,6 +1758,76 @@ components:
- $ref: '#/components/schemas/OAuthClientCredentialsRequest'
- $ref: '#/components/schemas/OAuthTokenExchangeRequest'
+ ScanReportRequest:
+ type: object
+ required:
+ - scan-report
+ properties:
+ scan-report:
+ $ref: '#/components/schemas/ScanReport'
+
+ ScanReport:
+ type: object
+ required:
+ - table-name
+ - snapshot-id
+ - filter
+ - projection
+ - metrics
+ properties:
+ table-name:
+ type: string
+ snapshot-id:
+ type: integer
+ format: int64
+ filter:
+ $ref: '#/components/schemas/Expression'
+ projection:
+ $ref: '#/components/schemas/Schema'
+ metrics:
+ type: object
Review Comment:
I think we need to be more specific here. This is an object where each
property is a metric name and the value is a metric. We should probably have a
`Metric` type as well that is used to describe the metrics objects.
--
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]