bbiiaaoo commented on code in PR #10637: URL: https://github.com/apache/gravitino/pull/10637#discussion_r3055123783
########## docs/lance-rest-service.md: ########## @@ -273,16 +273,16 @@ curl -X POST http://localhost:9101/lance/v1/table/lance_catalog%24schema%24table -d '{ "id": ["lance_catalog", "schema", "table01"], "location": "/tmp/lance_catalog/schema/table01", - "mode": "CREATE" + "mode": "create" }' # Create a new empty table curl -X POST http://localhost:9101/lance/v1/table/lance_catalog%24schema%24table02/create-empty \ -H 'Content-Type: application/json' \ + -H "x-lance-table-properties: {\"description\":\"This is table02\"}" \ Review Comment: `x-lance-table-properties` is optional for create-empty. If omitted, it defaults to an empty map. Request-body properties are still accepted for backward compatibility (header wins on key conflicts). I will clarify this in the documentation in the next commit. -- 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]
