Explorar el Código

HUE-8840 [importer] Fix submit database redirect source_type

jdesjean hace 6 años
padre
commit
ea1dff1a8e
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      desktop/libs/indexer/src/indexer/api3.py

+ 1 - 1
desktop/libs/indexer/src/indexer/api3.py

@@ -471,7 +471,7 @@ def _create_database(request, source, destination, start_time):
   )
 
   editor_type = destination['apiHelperType']
-  on_success_url = reverse('metastore:show_tables', kwargs={'database': database})
+  on_success_url = reverse('metastore:show_tables', kwargs={'database': database}) + "?source_type=" + source.get('sourceType', 'hive')
 
   notebook = make_notebook(
       name=_('Creating database %(name)s') % destination,