-
Notifications
You must be signed in to change notification settings - Fork 80
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add counters for migrated and pending migration data objects
- Loading branch information
1 parent
cc0753f
commit 3428059
Showing
5 changed files
with
22 additions
and
4 deletions.
There are no files selected for viewing
4 changes: 4 additions & 0 deletions
4
src/databricks/labs/ucx/queries/progress/main/02_1_pending_migration_data_objects.sql
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
/* --title 'Pending migration' --description 'Total number of tables and views' --height 6 */ | ||
SELECT COUNT(*) AS count | ||
FROM ucx_catalog.multiworkspace.latest_historical_per_workspace | ||
WHERE object_type = "migration_status" AND SIZE(failures) > 0 |
4 changes: 3 additions & 1 deletion
4
...1_migration_status_by_owner_bar_graph.sql → ...2_migration_status_by_owner_bar_graph.sql
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 4 additions & 0 deletions
4
src/databricks/labs/ucx/queries/progress/main/02_3_migrated_data_objects.sql
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
/* --title 'Migrated' --description 'Total number of tables and views' --height 6 */ | ||
SELECT COUNT(*) AS count | ||
FROM ucx_catalog.multiworkspace.latest_historical_per_workspace | ||
WHERE object_type = "migration_status" AND SIZE(failures) == 0 |
2 changes: 1 addition & 1 deletion
2
..._2_migration_status_by_owner_overview.sql → ..._4_migration_status_by_owner_overview.sql
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters