Skip to content

Commit cd033d5

Browse files
authored
Remove redundant notebooks top-level folder (#263)
1 parent a8c8088 commit cd033d5

File tree

6 files changed

+42
-359
lines changed

6 files changed

+42
-359
lines changed

notebooks/common.py

Lines changed: 0 additions & 34 deletions
This file was deleted.

notebooks/toolkit.py

Lines changed: 0 additions & 161 deletions
This file was deleted.
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
-- viz type=counter, name=Total Database Count, counter_label=Total Databases, value_column=count_total_databases
22
-- widget col=0, row=0, size_x=1, size_y=3
33
SELECT COUNT(DISTINCT `database`) AS count_total_databases
4-
FROM hive_metastore.ucx.tables
4+
FROM $inventory.tables

src/databricks/labs/ucx/assessment/queries/mount_points.sql

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@
22
-- widget title=Mount Points, col=3, row=17, size_x=3, size_y=8
33
SELECT name,
44
source
5-
FROM hive_metastore.ucx.mounts
5+
FROM $inventory.mounts

tests/integration/conftest.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -118,8 +118,9 @@ def create(
118118
ddl = f"{ddl} USING json LOCATION '{location}'"
119119
elif external:
120120
# external table
121-
location = "dbfs:/databricks-datasets/nyctaxi-with-zipcodes/subsampled"
122-
ddl = f"{ddl} USING delta LOCATION '{location}'"
121+
url = "s3a://databricks-datasets-oregon/delta-sharing/share/open-datasets.share"
122+
share = f"{url}#delta_sharing.default.lending_club"
123+
ddl = f"{ddl} USING deltaSharing LOCATION '{share}'"
123124
else:
124125
# managed table
125126
ddl = f"{ddl} (id INT, value STRING)"

0 commit comments

Comments
 (0)