Explorar o código

HUE-9444 [notebook] Teradata and Athena jdbc interfaces are not working (#1240)

Ivan Dzikovsky %!s(int64=5) %!d(string=hai) anos
pai
achega
e0d6825e6b
Modificáronse 1 ficheiros con 2 adicións e 2 borrados
  1. 2 2
      desktop/libs/notebook/src/notebook/connectors/base.py

+ 2 - 2
desktop/libs/notebook/src/notebook/connectors/base.py

@@ -466,10 +466,10 @@ def get_api(request, snippet):
       from notebook.connectors.jdbc import JdbcApi
       return JdbcApi(request.user, interpreter=interpreter)
   elif interface == 'teradata':
-    from notebook.connectors.jdbc import JdbcApiTeradata
+    from notebook.connectors.jdbc_teradata import JdbcApiTeradata
     return JdbcApiTeradata(request.user, interpreter=interpreter)
   elif interface == 'athena':
-    from notebook.connectors.jdbc import JdbcApiAthena
+    from notebook.connectors.jdbc_athena import JdbcApiAthena
     return JdbcApiAthena(request.user, interpreter=interpreter)
   elif interface == 'presto':
     from notebook.connectors.jdbc_presto import JdbcApiPresto