-
Notifications
You must be signed in to change notification settings - Fork 87
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
DBR 16 and later support #3481
base: main
Are you sure you want to change the base?
DBR 16 and later support #3481
Conversation
Update the run/wait pattern in the rest of our tests so that we can set a breakpoint on the wait and watch the workflow run.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for finding the source of this issue! If you can test it better, then that is appreciated
❌ 50/56 passed, 2 flaky, 6 failed, 4 skipped, 4h30m48s total ❌ test_table_migration_job_refreshes_migration_status[hiveserde-migrate-external-tables-ctas]: AssertionError: Workflow failed: assessment (21m27.286s)
❌ test_table_migration_job_refreshes_migration_status[regular-migrate-tables]: AssertionError: Workflow failed: assessment (21m33.62s)
❌ test_hiveserde_table_in_place_migration_job[migrate-external-tables-ctas]: AssertionError: Workflow failed: assessment (21m34.186s)
❌ test_table_migration_job_publishes_remaining_tables: AssertionError: Workflow failed: assessment (23m35.99s)
❌ test_hiveserde_table_in_place_migration_job[migrate-external-hiveserde-tables-in-place-experimental]: AssertionError: Workflow failed: migrate-external-hiveserde-tables-in-place-experimental (24m36.528s)
❌ test_table_migration_convert_manged_to_external: AssertionError: assert False (24m40.489s)
Flaky tests:
Running from acceptance #7887 |
@@ -327,6 +323,8 @@ def _convert_hms_table_to_external(self, src_table: Table) -> bool: | |||
old_table.schemaPreservesCase(), | |||
old_table.ignoredProperties(), | |||
old_table.viewOriginalText(), | |||
# From DBR 16, there's a new table property: entityStorageLocations (Seq[EntityStorageLocation]) | |||
*([old_table.entityStorageLocations()] if hasattr(old_table, 'entityStorageLocations') else []), |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@FastLee: I assume that this (new) property should be copied from the old table when doing this migration?
Changes
This PR adds DBR16 compatibility for the code that (optionally) converts HMS tables to external tables within the
migrate-tables
workflow.Linked issues
Follows #3459
Resolves #3460
Functionality
migrate-tables
Tests