danhuawang commented on issue #9954:
URL: https://github.com/apache/gravitino/issues/9954#issuecomment-3976139385

   Could you try the following curl commands:
   
   ```
   
   curl -X POST -H 'Content-Type: application/json' 
http://127.0.0.1:18090/api/metalakes -d '{"name": "lrs_test"}'
   
   curl -X POST -H 'Content-Type: application/json'  
http://127.0.0.1:19101/lance/v1/namespace/lance_s3_test_catalog/create -d 
'{"id":["lance_s3_test_catalog"]}'
   
   curl -X POST -H 'Content-Type: application/json' 
http://127.0.0.1:19101/lance/v1/namespace/lance_s3_test_catalog%24lance_s3_schema_t3/create
 -d '{"mode":"create","id":["lance_s3_test_catalog","lance_s3_schema_t3"]}'
   
   curl -X POST \
     -H 'Content-Type: application/vnd.apache.arrow.stream' \
     -H 'x-lance-table-location: 
s3://sts-test-bucket-001/lance/data/warehouse/lance_s3_table_3/' \
     -H 'x-lance-table-properties: 
{"lance.storage.aws_access_key_id":"XXX","lance.storage.aws_secret_access_key":"XXX","lance.storage.aws_region":"ap-northeast-1"}'
 \
     
'http://127.0.0.1:19101/lance/v1/table/lance_s3_test_catalog%24lance_s3_schema_t3%24lance_s3_table_3/create?mode=create'
 \
     --data-binary "@1.arrow.bin"
   
    curl -X POST -H 'Content-Type: application/json' 
http://127.0.0.1:19101/lance/v1/table/lance_s3_test_catalog%24lance_s3_schema_t3%24lance_s3_table_3/drop
 -d '{"id":["lance_s3_test_catalog","lance_s3_schema_t3","lance_s3_table_3"]}'
   
   ```


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