Skip to content

Commit 6a77aee

Browse files
authored
Remove UC banner warning, fix UC tables help (#504)
* Remove UC banner warning, fix UC tables help * Tweak tables banner message.
1 parent 6ad6b41 commit 6a77aee

File tree

2 files changed

+6
-10
lines changed

2 files changed

+6
-10
lines changed

databricks_cli/unity_catalog/cli.py

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -37,11 +37,7 @@
3737
from databricks_cli.unity_catalog.lineage_cli import register_lineage_commands
3838

3939

40-
@click.group(context_settings=CONTEXT_SETTINGS,
41-
help='Utility to interact with Databricks Unity Catalog.\n\n' +
42-
'**********************************************************************\n' +
43-
'WARNING: these commands are EXPERIMENTAL and not officially supported.\n' +
44-
'**********************************************************************')
40+
@click.group(context_settings=CONTEXT_SETTINGS)
4541
@click.option('--version', '-v', is_flag=True, callback=print_version_callback,
4642
expose_value=False, is_eager=True, help=version)
4743
def unity_catalog_group(): # pragma: no cover

databricks_cli/unity_catalog/table_cli.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -150,12 +150,12 @@ def delete_table_cli(api_client, full_name):
150150
UnityCatalogApi(api_client).delete_table(full_name)
151151

152152

153-
@click.group()
153+
@click.group(context_settings=CONTEXT_SETTINGS,
154+
short_help=' ',
155+
help='Note:\n' +
156+
'To create or update tables, use SQL commands\n' +
157+
'(CREATE TABLE or ALTER TABLE) on a cluster or SQL warehouse.')
154158
def tables_group(): # pragma: no cover
155-
"""
156-
Note: To create or update tables, please run the appropriate SQL commands
157-
on a cluster or endpoint (CREATE TABLE and ALTER TABLE).
158-
"""
159159
pass
160160

161161

0 commit comments

Comments
 (0)