Explorar o código

HUE-6505 [metastore] Adding table names to drop task

Romain Rigaux %!s(int64=8) %!d(string=hai) anos
pai
achega
254507d
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      apps/metastore/src/metastore/views.py

+ 1 - 1
apps/metastore/src/metastore/views.py

@@ -388,7 +388,7 @@ def drop_table(request, database):
       if request.POST.get('is_embeddable'):
         sql = db.drop_tables(database, tables_objects, design=None, skip_trash=skip_trash, generate_ddl_only=True)
         job = make_notebook(
-            name='Execute and watch',
+            name='Dropping %s' % ','.join([table.name for table in tables_objects])[:100],
             editor_type=_get_servername(db),
             statement=sql.strip(),
             status='ready',