Skip to content

Commit 0e3c0a1

Browse files
Revert "remove constants changes"
This reverts commit 802d045.
1 parent 0fe4da4 commit 0e3c0a1

File tree

1 file changed

+0
-20
lines changed

1 file changed

+0
-20
lines changed

src/databricks/sql/backend/sea/utils/constants.py

Lines changed: 0 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -45,23 +45,3 @@ class WaitTimeout(Enum):
4545

4646
ASYNC = "0s"
4747
SYNC = "10s"
48-
49-
50-
class MetadataCommands(Enum):
51-
"""SQL commands used in the SEA backend.
52-
53-
These constants are used for metadata operations and other SQL queries
54-
to ensure consistency and avoid string literal duplication.
55-
"""
56-
57-
SHOW_CATALOGS = "SHOW CATALOGS"
58-
SHOW_SCHEMAS = "SHOW SCHEMAS IN {}"
59-
SHOW_TABLES = "SHOW TABLES IN {}"
60-
SHOW_TABLES_ALL_CATALOGS = "SHOW TABLES IN ALL CATALOGS"
61-
SHOW_COLUMNS = "SHOW COLUMNS IN CATALOG {}"
62-
63-
SCHEMA_LIKE_PATTERN = " SCHEMA LIKE '{}'"
64-
TABLE_LIKE_PATTERN = " TABLE LIKE '{}'"
65-
LIKE_PATTERN = " LIKE '{}'"
66-
67-
CATALOG_SPECIFIC = "CATALOG {}"

0 commit comments

Comments
 (0)