[chore](backup) Fix the db name of the restored view#37412
Merged
gavinchou merged 3 commits intoapache:masterfrom Jul 17, 2024
Merged
[chore](backup) Fix the db name of the restored view#37412gavinchou merged 3 commits intoapache:masterfrom
gavinchou merged 3 commits intoapache:masterfrom
Conversation
|
Thank you for your contribution to Apache Doris. Since 2024-03-18, the Document has been moved to doris-website. |
Contributor
Author
|
run buildall |
TPC-H: Total hot run time: 39908 ms |
TPC-DS: Total hot run time: 173564 ms |
ClickBench: Total hot run time: 29.91 s |
dataroaring
requested changes
Jul 8, 2024
Contributor
dataroaring
left a comment
There was a problem hiding this comment.
please add a regression test case.
gavinchou
previously approved these changes
Jul 14, 2024
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.
8097fd4 to
60c1984
Compare
60c1984 to
e589c2c
Compare
Contributor
Author
|
run buildall |
TPC-H: Total hot run time: 40153 ms |
TPC-DS: Total hot run time: 172927 ms |
ClickBench: Total hot run time: 30.75 s |
Contributor
Author
|
run buildall |
TPC-H: Total hot run time: 40202 ms |
TPC-DS: Total hot run time: 174076 ms |
ClickBench: Total hot run time: 30.77 s |
Contributor
|
PR approved by at least one committer and no changes requested. |
Contributor
|
PR approved by anyone and no changes requested. |
gavinchou
approved these changes
Jul 17, 2024
dataroaring
pushed a commit
that referenced
this pull request
Jul 17, 2024
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
added a commit
to w41ter/incubator-doris
that referenced
this pull request
Jul 18, 2024
Cherry-pick apache#37412 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
added a commit
to w41ter/incubator-doris
that referenced
this pull request
Jul 18, 2024
Cherry-pick apache#37412 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
added a commit
to w41ter/incubator-doris
that referenced
this pull request
Jul 18, 2024
Cherry-pick apache#37412 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
added a commit
to w41ter/incubator-doris
that referenced
this pull request
Jul 18, 2024
Cherry-pick apache#37412 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.
dataroaring
pushed a commit
that referenced
this pull request
Jul 18, 2024
Cherry-pick #37412 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.
mongo360
pushed a commit
to mongo360/doris
that referenced
this pull request
Aug 16, 2024
Cherry-pick apache#37412 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.
Closed
w41ter
added a commit
to w41ter/incubator-doris
that referenced
this pull request
Aug 23, 2024
PR apache#37412 read the db name from BackupMeta, but it is not compatible, since BackupMeta is not serialized to json.
dataroaring
pushed a commit
that referenced
this pull request
Aug 24, 2024
PR #37412 read the db name from BackupMeta, but it is not compatible, since BackupMeta is not serialized to json.
w41ter
added a commit
to w41ter/incubator-doris
that referenced
this pull request
Aug 26, 2024
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
added a commit
to w41ter/incubator-doris
that referenced
this pull request
Aug 26, 2024
PR apache#37412 read the db name from BackupMeta, but it is not compatible, since BackupMeta is not serialized to json.
w41ter
added a commit
that referenced
this pull request
Aug 26, 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.
w41ter
added a commit
to w41ter/incubator-doris
that referenced
this pull request
Sep 5, 2024
PR apache#37412 read the db name from BackupMeta, but it is not compatible, since BackupMeta is not serialized to json.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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.