mirror of
https://github.com/open-metadata/OpenMetadata
synced 2026-05-24 09:39:11 +00:00
[MINOR] partition migration issue with redshift servics (#16452)
* fix: partition migration issue with redshift servics * chore: typo in sql comment
This commit is contained in:
parent
029370205f
commit
451d73593e
4 changed files with 10 additions and 0 deletions
|
|
@ -0,0 +1,5 @@
|
|||
-- 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;
|
||||
|
|
@ -0,0 +1,5 @@
|
|||
-- Fix hanging partition migration
|
||||
-- in 1.4.x `tablePartition.intervalType` should not exists
|
||||
UPDATE table_entity
|
||||
SET json = json - 'tablePartition'
|
||||
WHERE json->'tablePartition'->'intervalType' is not null;
|
||||
Loading…
Reference in a new issue