Skip to content

Commit

Permalink
Remove redundant notebooks top-level folder (#263)
Browse files Browse the repository at this point in the history
  • Loading branch information
nfx committed Sep 26, 2023
1 parent a8c8088 commit cd033d5
Show file tree
Hide file tree
Showing 6 changed files with 42 additions and 359 deletions.
34 changes: 0 additions & 34 deletions notebooks/common.py

This file was deleted.

161 changes: 0 additions & 161 deletions notebooks/toolkit.py

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
-- viz type=counter, name=Total Database Count, counter_label=Total Databases, value_column=count_total_databases
-- widget col=0, row=0, size_x=1, size_y=3
SELECT COUNT(DISTINCT `database`) AS count_total_databases
FROM hive_metastore.ucx.tables
FROM $inventory.tables
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@
-- widget title=Mount Points, col=3, row=17, size_x=3, size_y=8
SELECT name,
source
FROM hive_metastore.ucx.mounts
FROM $inventory.mounts
5 changes: 3 additions & 2 deletions tests/integration/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -118,8 +118,9 @@ def create(
ddl = f"{ddl} USING json LOCATION '{location}'"
elif external:
# external table
location = "dbfs:/databricks-datasets/nyctaxi-with-zipcodes/subsampled"
ddl = f"{ddl} USING delta LOCATION '{location}'"
url = "s3a://databricks-datasets-oregon/delta-sharing/share/open-datasets.share"
share = f"{url}#delta_sharing.default.lending_club"
ddl = f"{ddl} USING deltaSharing LOCATION '{share}'"
else:
# managed table
ddl = f"{ddl} (id INT, value STRING)"
Expand Down
Loading

0 comments on commit cd033d5

Please sign in to comment.