danhuawang opened a new issue, #9491:
URL: https://github.com/apache/gravitino/issues/9491

   ### What would you like to be improved?
   
   The version field of CreateTable response is always null.
   
   ```
   URL: 
http://192.168.194.170:9101/lance/v1/table/lance_catalog_tbl%24lance_schema_t17%24lance_table_17/create?mode=create
   
   Status code: 200
   
   Content Type: null
   
   Request Headers
   Accept=application/json, application/javascript, text/javascript, text/json
   Authorization=Basic YW5vbnltb3VzOnRlc3Q=
   x-lance-table-location=/tmp/lance-test/tables/lance_table_17
   x-lance-table-properties={"description":"Complex schema 
table","owner":"test_user"}
   Content-Type=application/vnd.apache.arrow.stream; charset=UTF-8
   Content Body
   [-1, -1, -1, -1, 48, 1, 0, 0, 16, 0, 0, 0, 0, 0, 10, 0, 14, 0, 6, 0, 13, 0, 
8, 0, 10, 0, 0, 0, 0, 0, 4, 0, 16, 0, 0, 0, 0, 1, 10, 0, 12, 0, 0, 0, 8, 0, 4, 
0, 10, 0, 0, 0, 8, 0, 0, 0, 8, 0, 0, 0, 0, 0, 0, 0, 4, 0, 0, 0, -72, 0, 0, 0, 
112, 0, 0, 0, 56, 0, 0, 0, 4, 0, 0, 0, 106, -1, -1, -1, 20, 0, 0, 0, 20, 0, 0, 
0, 20, 0, 0, 0, 0, 0, 5, 1, 16, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, -100, -1, -1, 
-1, 5, 0, 0, 0, 101, 109, 97, 105, 108, 0, 0, 0, -102, -1, -1, -1, 20, 0, 0, 0, 
20, 0, 0, 0, 20, 0, 0, 0, 0, 0, 2, 1, 24, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 
-120, -1, -1, -1, 0, 0, 0, 1, 32, 0, 0, 0, 3, 0, 0, 0, 97, 103, 101, 0, -50, 
-1, -1, -1, 20, 0, 0, 0, 20, 0, 0, 0, 24, 0, 0, 0, 0, 0, 5, 1, 20, 0, 0, 0, 0, 
0, 0, 0, 0, 0, 0, 0, 4, 0, 4, 0, 4, 0, 0, 0, 4, 0, 0, 0,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 4, 0, 0, 0, 5, 0, 0, 0, 0, 
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 5, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 
0, 5, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 5, 
 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 31, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 
0, 2, 0, 0, 0, 3, 0, 0, 0, 4, 0, 0, 0, 5, 0, 0, 0, 0, 0, 0, 0, 31, 0, 0, 0, 0, 
0, 0, 0, 0, 0, 0, 0, 5, 0, 0, 0, 10, 0, 0, 0, 15, 0, 0, 0, 20, 0, 0, 0, 25, 0, 
0, 0, 85, 115, 101, 114, 49, 85, 115, 101, 114, 50, 85, 115, 101, 114, 51, 85, 
115, 101, 114, 52, 85, 115, 101, 114, 53, 0, 0, 0, 0, 0, 0, 0, 31, 0, 0, 0, 0, 
0, 0, 0, 20, 0, 0, 0, 25, 0, 0, 0, 30, 0, 0, 0, 35, 0, 0, 0, 40, 0, 0, 0, 0, 0, 
0, 0, 31, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 17, 0, 0, 0, 34, 0, 0, 0, 51, 0, 0, 
0, 68, 0, 0, 0, 85, 0, 0, 0, 117, 115, 101, 114, 49, 64, 101, 120, 97, 109, 
112, 108, 101, 46, 99, 111, 109, 117, 115, 101, 114, 50, 64, 101, 120, 97, 109, 
112, 108, 101, 46, 99, 111, 109, 117, 115, 101, 114, 51, 64, 101, 120, 97, 109, 
112, 108, 101, 46, 99, 111, 109, 117, 115, 101, 114, 52, 64, 101, 120, 97, 109, 
112, 108, 101, 46, 99, 111, 109, 117, 115, 101, 114, 53, 64, 101, 120, 97, 109, 
112, 108, 101, 46, 99, 111, 109, 0, 0, 0, -1, -
 1, -1, -1, 0, 0, 0, 0]
   Response Headers
   Date: Tue, 16 Dec 2025 09:15:35 GMT
   Content-Type: application/json
   Content-Length: 279
   Server: Jetty(9.4.51.v20230217)
   Response Body
   {
       "location": "/tmp/lance-test/tables/lance_table_17/",
       "version": null,
       "properties": {
           "owner": "test_user",
           "external": "true",
           "format": "lance",
           "description": "Complex schema table",
           "location": "/tmp/lance-test/tables/lance_table_17/",
           "lance.creation-mode": "CREATE"
       },
       "storage_options": {
           
       }
   }
   ```
   
   ### How should we improve?
   
   May be we should implement this field as it's a critical field for data


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

Reply via email to