Skip to content

Commit aec2dde

Browse files
committed
Remove references to UCX
1 parent 512c014 commit aec2dde

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

src/databricks/labs/pytester/fixtures/catalog.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@ def create( # pylint: disable=too-many-locals,too-many-arguments,too-many-state
119119
catalog_name = schema.catalog_name
120120
schema_name = schema.name
121121
if name is None:
122-
name = f"ucx_T{make_random(4)}".lower()
122+
name = f"dummy_T{make_random(4)}".lower()
123123
table_type: TableType | None = None
124124
data_source_format = None
125125
storage_location = None
@@ -140,7 +140,7 @@ def create( # pylint: disable=too-many-locals,too-many-arguments,too-many-state
140140
table_type = TableType.EXTERNAL # pylint: disable=redefined-variable-type
141141
data_source_format = DataSourceFormat.JSON
142142
# DBFS locations are not purged; no suffix necessary.
143-
storage_location = f"dbfs:/tmp/ucx_test_{make_random(4)}"
143+
storage_location = f"dbfs:/tmp/{name}"
144144
if columns is None:
145145
select = "*"
146146
else:
@@ -354,7 +354,7 @@ def create(
354354
schema_name = schema.name
355355

356356
if name is None:
357-
name = f"ucx_t{make_random(4).lower()}"
357+
name = f"dummy_U{make_random(4).lower()}"
358358

359359
# Note: the Watchdog does not explicitly scan for functions; they are purged along with their parent schema.
360360
# As such the function can't be marked (and doesn't need to be if the schema as marked) for purge protection.

src/databricks/labs/pytester/fixtures/redash.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ def create(sql_query: str | None = None, **kwargs) -> LegacyQuery:
5454
query_name = f"dummy_query_Q{make_random(4)}"
5555
query = ws.queries_legacy.create(
5656
name=query_name,
57-
description="TEST QUERY FOR UCX",
57+
description="Test query",
5858
query=sql_query,
5959
tags=tags,
6060
)

0 commit comments

Comments
 (0)