Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Removing migrated_data_location from definitionMetadata #637

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

gtrettenero
Copy link
Contributor

No description provided.

@gtrettenero gtrettenero self-assigned this Mar 10, 2025
@@ -431,6 +431,11 @@ public TableDto deleteAndReturn(final QualifiedName name, final boolean isMView)
tagService.delete(name, false);
} else {
if (config.canSoftDeleteDataMetadata() && tableDto.isDataExternal()) {
// Remove the migrated_data_location field before soft deleting to allow for cleanup of old prefixes
Copy link
Contributor

@stevie9868 stevie9868 Mar 10, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actually, this won't remove the migrated_data_location in the db. We need to delete the migrated_Data_location reference in the metacat db.

@stevie9868
Copy link
Contributor

Could you also add a smokeTest after the change? Thanks!

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