Skip to content

GG-643: Fix gprestore --redirect-schema for tables with complex partitioning - #24

Merged
riogor merged 11 commits into
masterfrom
GG-643
Aug 4, 2026
Merged

GG-643: Fix gprestore --redirect-schema for tables with complex partitioning#24
riogor merged 11 commits into
masterfrom
GG-643

Conversation

@riogor

@riogor riogor commented Jul 30, 2026

Copy link
Copy Markdown
Collaborator

gprestore failed to restore a table with subpartition templates
when --redirect-schema parameter is present.
gprestore lacks support for schema replacement in
ALTER TABLE ... SET SUBPARTITION TEMPLATE ... queries.

Add regex to catch and replace schema in these queries.

Add unit and e2e tests.

Ticket: GG-643

Comment thread restore/restore_internal_test.go Outdated
Comment thread restore/restore.go
red1452
red1452 previously approved these changes Aug 3, 2026
@hilltracer
hilltracer self-requested a review August 3, 2026 11:17
Comment thread end_to_end/end_to_end_suite_test.go Outdated
Comment thread restore/restore_internal_test.go
Comment thread restore/restore.go
@riogor
riogor merged commit af3ad56 into master Aug 4, 2026
7 checks passed
@riogor
riogor deleted the GG-643 branch August 4, 2026 14:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants