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

[BUG]: Views migration should not throw blocking errors #1791

Closed
1 task done
nkvuong opened this issue May 29, 2024 · 4 comments
Closed
1 task done

[BUG]: Views migration should not throw blocking errors #1791

nkvuong opened this issue May 29, 2024 · 4 comments
Assignees
Labels
bug Something isn't working migrate/views

Comments

@nkvuong
Copy link
Contributor

nkvuong commented May 29, 2024

Is there an existing issue for this?

  • I have searched the existing issues

Current Behavior

Customer is currently migrating tables & views within a single database. Some views are referring to tables in other databases, and therefore should be skipped, instead of throwing errors such as below

image

Expected Behavior

No response

Steps To Reproduce

No response

Cloud

AWS

Operating System

macOS

Version

latest via Databricks CLI

Relevant log output

No response

@ericvergnaud
Copy link
Contributor

@nkvuong from the snapshot I'm not seeing the problematic table, can you provide a better one ?

@ralphkootker
Copy link

I'm migrating the hive_metastore to Unity Catalog for one of our customers.
This customer has many databases in the HMS and we have only selected 1 database to migrate first.

This database has views, and the customers practice prescribes using views when querying cross database. As we migrate just 1 database to UC and not all, the view will become a bit messy.

The error thrown is not straightforward and context about cross database reference would be helpful.

Workaround: For now, we will recreate the views manually, temporary points to objects in the HMS as well as Unity Catalog until the migration is completed in full.

@ericvergnaud
Copy link
Contributor

ericvergnaud commented May 31, 2024

Could be a duplicate of #1798, which is already fixed. Can you check ?

@nfx
Copy link
Collaborator

nfx commented Jun 4, 2024

Please upgrade to the latest version. It seems that the version you're referring is too old.

@nfx nfx closed this as completed Jun 4, 2024
@nfx nfx moved this to Done in UCX (weekly) Aug 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working migrate/views
Projects
Archived in project
Development

No branches or pull requests

4 participants