Skip to content

Commit

Permalink
Format
Browse files Browse the repository at this point in the history
  • Loading branch information
JCZuurmond committed Oct 28, 2024
1 parent f93088e commit cf734a6
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 0 additions & 1 deletion src/databricks/labs/ucx/contexts/workflow_task.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@

from databricks.labs.blueprint.installation import Installation
from databricks.labs.lsql.backends import RuntimeBackend, SqlBackend
from databricks.labs.ucx.hive_metastore.table_migration_status import TableMigrationStatus
from databricks.sdk import WorkspaceClient, core

from databricks.labs.ucx.__about__ import __version__
Expand Down
4 changes: 3 additions & 1 deletion src/databricks/labs/ucx/progress/workflows.py
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,9 @@ def refresh_table_migration_status(self, ctx: RuntimeContext) -> None:
"""Scan the tables (and views) in the inventory and record whether each has been migrated or not."""
ctx.migration_status_refresher.snapshot(force_refresh=True)

@job_task(depends_on=[verify_prerequisites, crawl_tables, refresh_table_migration_status], job_cluster="table_migration")
@job_task(
depends_on=[verify_prerequisites, crawl_tables, refresh_table_migration_status], job_cluster="table_migration"
)
def update_tables_history_log(self, ctx: RuntimeContext) -> None:
"""Update the history log with the latest tables inventory snapshot."""
# The table migration cluster is not legacy-ACL enabled, so we can't crawl from here.
Expand Down

0 comments on commit cf734a6

Please sign in to comment.