mirror of
https://github.com/open-metadata/OpenMetadata.git
synced 2025-07-05 16:19:35 +00:00
5 lines
234 B
SQL
5 lines
234 B
SQL
-- Fix hanging partition migration
|
|
-- in 1.4.x `tablePartition.intervalType` should not exists
|
|
UPDATE table_entity
|
|
SET json = JSON_REMOVE(json, '$.tablePartition')
|
|
WHERE JSON_EXTRACT(json, '$.tablePartition.intervalType') IS NOT NULL; |