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

   ### What would you like to be improved?
   
   URL: 
http://192.168.194.170:9101/lance/v1/table/lance_s3_catalog%24lance_s3_schema_t8%24lance_s3_table_8/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=invalid-s3-path/lance_s3_table_8
   
x-lance-table-properties={"lance.storage.aws_access_key_id":"xxx","lance.storage.aws_secret_access_key":"xxxx","lance.storage.aws_region":"ap-northeast-1"}
   Content-Type=application/vnd.apache.arrow.stream; charset=UTF-8
   Content Body
   [-1, -1, -1, -1, -56, 0, 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, 2, 0, 0, 0, 76, 0, 0, 0, 4, 
0, 0, 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, 5, 0, 0, 0, 118, 
97, 108, 117, 101, 0, 18, 0, 24, 0, 20, 0, 19, 0, 18, 0, 12, 0, 0, 0, 8, 0, 4, 
0, 18, 0, 0, 0, 20, 0, 0, 0, 20, 0, 0, 0, 28, 0, 0, 0, 0, 0, 2, 1, 32, 0, 0, 0, 
0, 0, 0, 0, 0, 0, 0, 0, 8, 0, 12, 0, 8, 0, 7, 0, 8, 0, 0, 0, 0, 0, 0, 1, 32, 0, 
0, 0, 2, 0, 0, 0, 105, 100, 0, 0, 0, 0, 0, 0, -1, -1, -1, -1, -80, 0, 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, 3, 10, 0, 12, 0, 0, 0, 8, 0, 4, 0, 10, 0, 0, 0, 8, 0, 0, 0, 92, 0, 0, 
0, 5, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 
 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2, 0, 0, 0, 0, 
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 
0, 0, 0, 0, 0, -1, -1, -1, -1, 0, 0, 0, 0]
   Response Headers
   Date: Wed, 10 Dec 2025 11:34:41 GMT
   Content-Type: application/json
   Content-Length: 533
   Server: Jetty(9.4.51.v20230217)
   Response Body
   {
       "location": "invalid-s3-path/lance_s3_table_8/",
       "version": null,
       "properties": {
           "lance.storage.aws_secret_access_key": "xxxx",
           "external": "true",
           "lance.storage.aws_region": "ap-northeast-1",
           "lance.storage.aws_access_key_id": "xxxxx",
           "format": "lance",
           "location": "invalid-s3-path/lance_s3_table_8/",
           "lance.creation-mode": "CREATE"
       },
       "storage_options": {
           "aws_region": "ap-northeast-1",
           "aws_access_key_id": "xxxxx",
           "aws_secret_access_key": "xxxxx"
       }
   }
   
   ### How should we improve?
   
   precheck the invalid location path like "location": 
"invalid-s3-path/lance_s3_table_8/"
   


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