You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
…QL database (#1784)
### What changes were proposed in this pull request?
throw a exception when user. set comment on MySQL database
### Why are the changes needed?
Fix: #1717#1767
### Does this PR introduce _any_ user-facing change?
yes, if user set comment on MySQL database, will throw a exception.
### How was this patch tested?
add UT
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
The text was updated successfully, but these errors were encountered: