Skip to content

Conversation

github-actions[bot]
Copy link

What changes were proposed in this pull request?

  • Allow dropping a database when cascase is true.
  • If the database is not empty and cascade is false, disable the drop operation.

Why are the changes needed?

Align the logic with Gravitino EntityStore.

Fix: #1231

Does this PR introduce any user-facing change?

N/A

How was this patch tested?

Add UT testDropMySQLDatabase

### What changes were proposed in this pull request?

- Allow dropping a database when `cascase` is `true`.
- If the database is not empty and `cascade` is `false`, disable the
drop operation.

### Why are the changes needed?

Align the logic with Gravitino EntityStore.

Fix: #1231 

### Does this PR introduce _any_ user-facing change?

N/A

### How was this patch tested?

Add UT `testDropMySQLDatabase`
@github-actions github-actions bot added cherry-pick need backport Issues that need to backport to another branch labels Dec 25, 2023
@github-actions github-actions bot requested a review from jerryshao December 25, 2023 11:01
@jerryshao jerryshao closed this Dec 25, 2023
@jerryshao jerryshao reopened this Dec 25, 2023
Copy link
Author

Code Coverage Report

Overall Project 66.02% 🟢

There is no coverage information present for the Files changed

@jerryshao jerryshao merged commit ccea15c into branch-0.3 Dec 25, 2023
@jerryshao jerryshao deleted the cherry-pick-branch-0.3-3ece62754647eb1b54ac7a93e6844c31df363d8f branch December 25, 2023 11:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cherry-pick need backport Issues that need to backport to another branch
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants