Skip to content

Update table-migration workflows to also capture updated migration progress into the history log#3239

Merged
asnare merged 53 commits intomainfrom
more-workflow-history-snapshots
Jan 3, 2025
Merged

Update table-migration workflows to also capture updated migration progress into the history log#3239
asnare merged 53 commits intomainfrom
more-workflow-history-snapshots

Conversation

@asnare
Copy link
Contributor

@asnare asnare commented Nov 11, 2024

Changes

The table-migration workflows already contained tasks at the end that log information about tables that still need to be migrated. The primary purpose of this PR is to update these workflows so they also capture updated progress information into the history log.

Other changes include:

Linked issues

Conflicts with #3200 (will need rebasing). (Resolved.)

Functionality

  • updated documentation

  • modified existing workflows:

    • migrate-tables
    • migrate-external-hiveserde-tables-in-place-experimental
    • migrate-external-tables-ctas
    • scan-tables-in-mounts-experimental
    • migrate-tables-in-mounts-experimental

Tests

  • manually tested
  • updated and new unit tests
  • updated and new integration tests

@asnare asnare added enhancement New feature or request migrate/external go/uc/upgrade SYNC EXTERNAL TABLES step migrate/managed go/uc/upgrade Upgrade Managed Tables and Jobs migrate/jobs Step 5 - Upgrading Jobs for External Tables feat/migration-progress Issues related to the migration progress workflow labels Nov 11, 2024
@asnare asnare self-assigned this Nov 11, 2024
@asnare asnare requested a review from a team as a code owner November 11, 2024 12:03
@github-actions
Copy link

github-actions bot commented Nov 11, 2024

✅ 56/56 passed, 6 flaky, 4 skipped, 4h11m42s total

Flaky tests:

  • 🤪 test_table_migration_job_refreshes_migration_status[hiveserde-migrate-external-tables-ctas] (22m18.109s)
  • 🤪 test_table_migration_job_refreshes_migration_status[hiveserde-migrate-external-hiveserde-tables-in-place-experimental] (22m27.919s)
  • 🤪 test_table_migration_job_refreshes_migration_status[regular-migrate-tables] (22m31.745s)
  • 🤪 test_hiveserde_table_in_place_migration_job[migrate-external-hiveserde-tables-in-place-experimental] (21m30.543s)
  • 🤪 test_table_migration_convert_manged_to_external (22m25.163s)
  • 🤪 test_table_migration_job_publishes_remaining_tables (22m4.873s)

Running from acceptance #7841

It should return all the tables as a snapshot.
…ng the migration index is available during encoding.
@asnare asnare requested a review from JCZuurmond December 10, 2024 12:27
@asnare asnare removed the pr/do-not-merge this pull request is not ready to merge label Dec 10, 2024
@job_task(job_cluster="user_isolation")
def verify_progress_tracking_prerequisites(self, ctx: RuntimeContext) -> None:
"""Verify the prerequisites for running this job on the table migration cluster are fulfilled."""
ctx.verify_progress_tracking.verify(timeout=dt.timedelta(hours=1))
Copy link
Contributor

Choose a reason for hiding this comment

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

This forces the UCX catalog to be created before table migration, while it was not a pre-requiste before

github-merge-queue bot pushed a commit that referenced this pull request Dec 13, 2024
## Changes
Exclude TACL migration in table migration integration tests because
these were not asserted, and to speed up the tests and reduce flakiness

### Linked issues

Attempt to reduce flakiness blocking CI in #3239
Similar to #3437 in the sense that both PR scope integration tests to a
smaller set of resources

### Tests

- [x] modified integration tests
@JCZuurmond JCZuurmond removed their assignment Dec 16, 2024
@JCZuurmond
Copy link
Contributor

@asnare : When you are back, rebase with main and check if the CI still fails, the linked PR make the tests more robust

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request feat/migration-progress Issues related to the migration progress workflow migrate/external go/uc/upgrade SYNC EXTERNAL TABLES step migrate/jobs Step 5 - Upgrading Jobs for External Tables migrate/managed go/uc/upgrade Upgrade Managed Tables and Jobs pr/do-not-merge this pull request is not ready to merge

Projects

Archived in project

Development

Successfully merging this pull request may close these issues.

4 participants