OpenMetadata/bootstrap/sql/migrations/native/1.4.2/mysql/postDataMigrationSQLScript.sql

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

5 lines
234 B
MySQL
Raw Normal View History

-- 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;