Skip to content

Commit

Permalink
[MINOR] partition migration issue with redshift servics (#16452)
Browse files Browse the repository at this point in the history
* fix: partition migration issue with redshift servics

* chore: typo in sql comment
  • Loading branch information
TeddyCr committed May 29, 2024
1 parent 0293702 commit 451d735
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -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;
Empty file.
Original file line number Diff line number Diff line change
@@ -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;
Empty file.

0 comments on commit 451d735

Please sign in to comment.