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

fix: export/import catalogs #28408

Merged
merged 1 commit into from
May 9, 2024
Merged

Conversation

betodealmeida
Copy link
Member

SUMMARY

Add the catalog field to import/export commands, wherever relevant.

I also added some tests for the uniqueness checks, that now considers catalog as well.

BEFORE/AFTER SCREENSHOTS OR ANIMATED GIF

TESTING INSTRUCTIONS

ADDITIONAL INFORMATION

  • Has associated issue:
  • Required feature flags:
  • Changes UI
  • Includes DB Migration (follow approval process in SIP-59)
    • Migration is atomic, supports rollback & is backwards-compatible
    • Confirm DB migration upgrade and downgrade tested
    • Runtime estimates and downtime expectations provided
  • Introduces new feature or API
  • Removes existing feature or API

Sorry, something went wrong.

@betodealmeida betodealmeida marked this pull request as ready for review May 9, 2024 16:06
@betodealmeida betodealmeida force-pushed the import-export-catalog-field branch from a71092a to 7b17972 Compare May 9, 2024 16:28
@pull-request-size pull-request-size bot added size/L and removed size/M labels May 9, 2024
@betodealmeida betodealmeida force-pushed the import-export-catalog-field branch from 7b17972 to 15d85de Compare May 9, 2024 17:30
@@ -1135,7 +1142,9 @@ class SqlaTable(
# The reason it does not physically exist is MySQL, PostgreSQL, etc. have a
# different interpretation of uniqueness when it comes to NULL which is problematic
# given the schema is optional.
Copy link
Member

Choose a reason for hiding this comment

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

schema and catalog are optional...

@betodealmeida betodealmeida merged commit e6a85c5 into master May 9, 2024
29 checks passed
imancrsrk pushed a commit to imancrsrk/superset that referenced this pull request May 10, 2024
jzhao62 pushed a commit to jzhao62/superset that referenced this pull request May 16, 2024

Verified

This commit was signed with the committer’s verified signature.
ahcorde Alejandro Hernández Cordero
EnxDev pushed a commit to EnxDev/superset that referenced this pull request May 31, 2024

Verified

This commit was signed with the committer’s verified signature.
ahcorde Alejandro Hernández Cordero
@rusackas rusackas deleted the import-export-catalog-field branch September 27, 2024 21:04
vinothkumar66 pushed a commit to vinothkumar66/superset that referenced this pull request Nov 11, 2024
@mistercrunch mistercrunch added 🏷️ bot A label used by `supersetbot` to keep track of which PR where auto-tagged with release labels 🚢 4.1.0 labels Nov 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🏷️ bot A label used by `supersetbot` to keep track of which PR where auto-tagged with release labels size/L 🚢 4.1.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants