Closed danhuawang closed 9 months ago
main branch
N/A
curl -X POST -H "Content-Type: application/json" -d '{"name":"s3","comment":"comment"}' http://localhost:8090/api/metalakes/test/catalogs/m11/schemas
{"code":0,"schema":{"name":"s3","properties":{"COLLATE":"utf8mb4_0900_ai_ci","CHARACTER SET":"utf8mb4"},"audit":{"creator":"anonymous","createTime":"2024-01-29T13:10:18.936Z"}}}%
curl http://localhost:8090/api/metalakes/test/catalogs/m11/schemas/s3
{"code":0,"schema":{"name":"s3","properties":{"COLLATE":"utf8mb4_0900_ai_ci","CHARACTER SET":"utf8mb4"},"audit":{}}}%
No response
Similar with https://github.com/datastrato/gravitino/issues/1499, What's the different is we could get schema comment in PG while couldn't get the schema comment in Mysql, see #1717
Version
main branch
Describe what's wrong
Error message and/or stacktrace
N/A
How to reproduce
curl -X POST -H "Content-Type: application/json" -d '{"name":"s3","comment":"comment"}' http://localhost:8090/api/metalakes/test/catalogs/m11/schemas
{"code":0,"schema":{"name":"s3","properties":{"COLLATE":"utf8mb4_0900_ai_ci","CHARACTER SET":"utf8mb4"},"audit":{"creator":"anonymous","createTime":"2024-01-29T13:10:18.936Z"}}}%
curl http://localhost:8090/api/metalakes/test/catalogs/m11/schemas/s3
{"code":0,"schema":{"name":"s3","properties":{"COLLATE":"utf8mb4_0900_ai_ci","CHARACTER SET":"utf8mb4"},"audit":{}}}%
Additional context
No response