Open PHK-20 opened 1 month ago
I don't think GORM supports all MO data types since UUID is not a MySQL data type.
Either use plain SQL or change the schema of the snapshot table to use standard MySQL data types.
To be confirmed
Mo needs to implement sanner and valuer of type uuid
这个1.3没有计划支持。涉及提供mo的jdbc的内容。看后续安排吧。目前要么cast,要米存成varchar。mysql生态没有uuid
未投入
未投入
未投入
未投入
暂时没有需求
Is there an existing issue for the same bug?
Branch Name
74f04ebd0
Commit ID
74f04ebd0
Other Environment Information
Actual Behavior
snapshot_id is uuid type, but i can use gorm receiving with string
2024/07/16 07:15:37.549142 +0000 ERROR backup/backup.go:41 trace {"error": "unknown field type 243", "elapsed": "203.622ms", "rows": 0, "sql": "SELECT * FROM
mo_catalog
.mo_snapshots
WHERE sname = '124' ORDER BYmo_snapshots
.snapshot_id
LIMIT 1"}Expected Behavior
No response
Steps to Reproduce
Additional information
No response