-
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.
Added assessment for the incompatible
RunSubmit
API usages (#849)
- Loading branch information
Showing
25 changed files
with
624 additions
and
13 deletions.
There are no files selected for viewing
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
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
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
8 changes: 8 additions & 0 deletions
8
src/databricks/labs/ucx/queries/assessment/main/06_4_submit_runs.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,8 @@ | ||
-- viz type=table, name=Submit Runs, columns=hashed_id,failure,run_ids | ||
-- widget title=Incompatible Submit Runs, row=6, col=4, size_x=3, size_y=8 | ||
SELECT | ||
hashed_id, | ||
EXPLODE(FROM_JSON(failures, 'array<string>')) AS failure, | ||
FROM_JSON(run_ids, 'array<string>') AS run_ids | ||
FROM $inventory.submit_runs | ||
ORDER BY hashed_id DESC |
8 changes: 8 additions & 0 deletions
8
src/databricks/labs/ucx/queries/assessment/main/06_5_submit_runs.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,8 @@ | ||
-- viz type=table, name=Submit Runs Failures, columns=failure,submit_runs,run_ids | ||
-- widget title=Incompatible Submit Runs Failures, row=6, col=5, size_x=3, size_y=8 | ||
SELECT | ||
EXPLODE(FROM_JSON(failures, 'array<string>')) AS failure, | ||
COUNT(DISTINCT hashed_id) AS submit_runs, | ||
COLLECT_LIST(DISTINCT run_ids) AS run_ids | ||
FROM $inventory.submit_runs | ||
group by 1 |
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
Oops, something went wrong.