This is an automated email from the ASF dual-hosted git repository.

fokko pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/iceberg.git


The following commit(s) were added to refs/heads/master by this push:
     new 2ddd32d28b REST: Correct snapshot id and time ms int format (#6921)
2ddd32d28b is described below

commit 2ddd32d28b69bcccf9f223ca5b21c518bf1920cc
Author: Haizhou Zhao <[email protected]>
AuthorDate: Fri Feb 24 00:14:16 2023 -0800

    REST: Correct snapshot id and time ms int format (#6921)
    
    * [Rest Catalog Spec] Correct snapshot id and time ms int format
    
    * Another int format fix
    
    ---------
    
    Co-authored-by: Haizhou Zhao <[email protected]>
---
 open-api/rest-catalog-open-api.yaml | 9 +++++++++
 1 file changed, 9 insertions(+)

diff --git a/open-api/rest-catalog-open-api.yaml 
b/open-api/rest-catalog-open-api.yaml
index 663e2fbe78..19b5ae9f3d 100644
--- a/open-api/rest-catalog-open-api.yaml
+++ b/open-api/rest-catalog-open-api.yaml
@@ -1315,12 +1315,16 @@ components:
       properties:
         snapshot-id:
           type: integer
+          format: int64
         parent-snapshot-id:
           type: integer
+          format: int64
         sequence-number:
           type: integer
+          format: int64
         timestamp-ms:
           type: integer
+          format: int64
         manifest-list:
           type: string
           description: Location of the snapshot's manifest list file
@@ -1373,8 +1377,10 @@ components:
         properties:
           snapshot-id:
             type: integer
+            format: int64
           timestamp-ms:
             type: integer
+            format: int64
 
     MetadataLog:
       type: array
@@ -1388,6 +1394,7 @@ components:
             type: string
           timestamp-ms:
             type: integer
+            format: int64
 
     TableMetadata:
       type: object
@@ -1405,6 +1412,7 @@ components:
           type: string
         last-updated-ms:
           type: integer
+          format: int64
         properties:
           type: object
           additionalProperties:
@@ -1443,6 +1451,7 @@ components:
           $ref: '#/components/schemas/SnapshotReferences'
         current-snapshot-id:
           type: integer
+          format: int64
         # logs
         snapshot-log:
           $ref: '#/components/schemas/SnapshotLog'

Reply via email to