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


##########
open-api/rest-catalog-open-api.yaml:
##########
@@ -2068,6 +2165,145 @@ components:
           items:
             $ref: '#/components/schemas/PartitionStatisticsFile'
 
+    PlanTask:
+      description:
+        A flexible JSON object that contains information provided by the 
server,
+        to be utilized by clients for distributed planning. However it is 
recommended that servers
+        provide a plan-task-id, as well as a location to a manifest.
+      type: object
+
+    FileScanTask:
+      type: object
+      required:
+        - data-file
+      properties:
+        data-file:
+          $ref: '#/components/schemas/ContentFile'
+        partition:
+          type: object
+          additionalProperties:
+            type: string
+        size-bytes:
+          type: number
+        start:
+          type: number
+        length:
+          type: number
+        estimated-rows-count:
+          type: number
+        delete-files:
+          type: array
+          items:
+            $ref: '#/components/schemas/ContentFile'
+        schema:
+          $ref: '#/components/schemas/Schema'
+        spec:
+          $ref: '#/components/schemas/PartitionSpec'
+        residual-filter:
+          $ref: '#/components/schemas/Expression'
+
+    ContentFile:
+      type: object
+      required:
+        - file-path
+      properties:
+        spec-id:
+          type: string
+        content:
+          $ref: '#/components/schemas/FileContent'
+        file-path:
+          type: string
+        file-format:
+          type: string
+        partition:
+          type: object
+          additionalProperties:
+            type: string
+        record-count:
+          type: number
+        file-size-in-bytes:
+          type: number
+        column-sizes:
+          type: object
+          additionalProperties:
+            type: object
+            properties:
+              keys:
+                type: integer
+              values:
+                type: number
+        value-counts:
+          type: object
+          additionalProperties:
+            type: object
+            properties:
+              keys:
+                type: integer
+              values:
+                type: number
+        null-value-counts:
+          type: object
+          additionalProperties:
+            type: object
+            properties:
+              keys:
+                type: integer
+              values:
+                type: number
+        nan-value-counts:
+          type: object
+          additionalProperties:
+            type: object
+            properties:
+              keys:
+                type: integer
+              values:
+                type: number
+        lower-bounds:
+          type: object
+          additionalProperties:
+            type: object
+            properties:
+              keys:
+                type: integer
+              values:
+                type: string
+                format: binary
+        upper-bounds:
+          type: object
+          additionalProperties:
+            type: object
+            properties:
+              keys:
+                type: integer
+              values:
+                type: string
+                format: binary
+        key-metadata:
+          type: string
+          format: binary
+        split-offsets:
+          type: array
+          items:
+            type: number
+        equality-ids:
+          type: array
+          items:
+            type: integer
+        sort-order-id:
+          type: integer
+        data-sequence-number:

Review Comment:
   I don't think data-sequence-number and file-sequence-number are in the 
ContentFileParser, why are they added here?



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