-
When materializing an asset with metadata of a certain size, I'm getting the following error:
How can I fix this? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
This occurs because the Starting in To migrate manually, you should run the following |
Beta Was this translation helpful? Give feedback.
This occurs because the
event_logs
table in MySQL stores the event metadata in a column of typeTEXT
instead ofLONGTEXT
.Starting in
1.5.10
, new Dagster instances on MySQL should useLONGTEXT
instead ofTEXT
, but existing instances will have to manually migrate. This is to allow existing instances who aren't running into this to avoid a schema migration that could potentially incur a long downtime.To migrate manually, you should run the following
ALTER
statements:ALTER TABLE event_logs MODIFY event LONGTEXT;
;ALTER TABLE asset_keys MODIFY last_materialization LONGTEXT;