Skip to content

Conversation

@w41ter
Copy link
Contributor

@w41ter w41ter commented Jul 18, 2024

Cherry-pick #37412, #39855

Previously, during restore, the database name in the CREATE VIEW statement was not modified, causing the restored view to be unviewable with the SHOW VIEW command. This PR retains the original cluster's database name in the BackupMeta and manually replaces it with the new cluster's database name in the CREATE VIEW statement during restore.

@doris-robot
Copy link

Thank you for your contribution to Apache Doris.
Don't know what should be done next? See How to process your PR

Since 2024-03-18, the Document has been moved to doris-website.
See Doris Document.

@w41ter
Copy link
Contributor Author

w41ter commented Jul 18, 2024

run buildall

@w41ter w41ter force-pushed the pick/37412_to_2.1 branch from 78e78a8 to ec7dac1 Compare July 18, 2024 08:36
@w41ter
Copy link
Contributor Author

w41ter commented Jul 18, 2024

run buildall

@w41ter
Copy link
Contributor Author

w41ter commented Jul 23, 2024

convert to draft, because this PR requires updating FeMetaVersion.

@w41ter w41ter marked this pull request as draft July 23, 2024 06:23
Cherry-pick apache#37412, apache#39855

Previously, during restore, the database name in the CREATE VIEW
statement was not modified, causing the restored view to be unviewable
with the SHOW VIEW command. This PR retains the original cluster's
database name in the BackupMeta and manually replaces it with the new
cluster's database name in the CREATE VIEW statement during restore.
@w41ter w41ter force-pushed the pick/37412_to_2.1 branch from ec7dac1 to 8ba8cc3 Compare August 26, 2024 02:52
@w41ter
Copy link
Contributor Author

w41ter commented Aug 26, 2024

run buildall

@w41ter w41ter marked this pull request as ready for review August 26, 2024 02:53
@w41ter w41ter merged commit e21d2b8 into apache:branch-2.1 Aug 26, 2024
@w41ter w41ter deleted the pick/37412_to_2.1 branch August 26, 2024 06:12
@yiguolei yiguolei mentioned this pull request Sep 5, 2024
3 tasks
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.

2 participants