Skip to content

Commit

Permalink
Remove table migration status historical encoder
Browse files Browse the repository at this point in the history
  • Loading branch information
JCZuurmond committed Oct 28, 2024
1 parent 99ea3d3 commit f93088e
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 17 deletions.
12 changes: 0 additions & 12 deletions src/databricks/labs/ucx/contexts/workflow_task.py
Original file line number Diff line number Diff line change
Expand Up @@ -232,18 +232,6 @@ def tables_progress(self) -> TableProgressEncoder:
self.config.ucx_catalog,
)

@cached_property
def historical_table_migration_log(self) -> ProgressEncoder[TableMigrationStatus]:
# TODO: @JCZuurmond merge into tables_progress
return ProgressEncoder(
self.sql_backend,
self.table_migration_ownership,
TableMigrationStatus,
self.parent_run_id,
self.workspace_id,
self.config.ucx_catalog,
)

@cached_property
def udfs_progress(self) -> ProgressEncoder[Udf]:
return ProgressEncoder(
Expand Down
5 changes: 0 additions & 5 deletions tests/unit/progress/test_workflows.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,11 +26,6 @@
RuntimeContext.policies_crawler,
RuntimeContext.policies_progress,
),
(
MigrationProgress.refresh_table_migration_status,
RuntimeContext.migration_status_refresher,
RuntimeContext.historical_table_migration_log,
),
),
)
def test_migration_progress_runtime_refresh(run_workflow, task, crawler, history_log) -> None:
Expand Down

0 comments on commit f93088e

Please sign in to comment.