rydka opened a new issue, #23920:
URL: https://github.com/apache/superset/issues/23920

   Hello !
   
   I am trying to set up a connexion between Superset and Apache Druid 
   
   In Superset's Create Database Tab I define the connexion as follows :
   
   druid://admin:[email protected]:8082/druid/v2/sql 
   
   But I keep receiving this error : 
   
   `2023-05-03 15:10:32,466:WARNING:superset.views.base:SupersetErrorsException
   Traceback (most recent call last):
     File "/app/superset/databases/commands/test_connection.py", line 164, in 
run
       raise DBAPIError(ex_str or None, None, None)
   sqlalchemy.exc.DBAPIError: (builtins.NoneType) None
   (Background on this error at: https://sqlalche.me/e/14/dbapi)
   
   The above exception was the direct cause of the following exception:
   
   Traceback (most recent call last):
     File "/usr/local/lib/python3.8/site-packages/flask/app.py", line 1517, in 
full_dispatch_request
       rv = self.dispatch_request()
     File "/usr/local/lib/python3.8/site-packages/flask/app.py", line 1503, in 
dispatch_request
       return 
self.ensure_sync(self.view_functions[rule.endpoint])(**req.view_args)
     File 
"/usr/local/lib/python3.8/site-packages/flask_appbuilder/security/decorators.py",
 line 95, in wraps
       return f(self, *args, **kwargs)
     File "/app/superset/views/base_api.py", line 127, in wraps
       raise ex
     File "/app/superset/views/base_api.py", line 121, in wraps
       duration, response = time_function(f, self, *args, **kwargs)
     File "/app/superset/utils/core.py", line 1596, in time_function
       response = func(*args, **kwargs)
     File "/app/superset/utils/log.py", line 266, in wrapper
       value = f(*args, **kwargs)
     File "/app/superset/views/base_api.py", line 93, in wraps
       return f(self, *args, **kwargs)
     File "/app/superset/databases/api.py", line 869, in test_connection
       TestConnectionDatabaseCommand(item).run()
     File "/app/superset/databases/commands/test_connection.py", line 193, in 
run
       raise SupersetErrorsException(errors) from ex
   superset.exceptions.SupersetErrorsException: 
[SupersetError(message='(builtins.NoneType) None\n(Background on this error at: 
https://sqlalche.me/e/14/dbapi)', 
error_type=<SupersetErrorType.GENERIC_DB_ENGINE_ERROR: 
'GENERIC_DB_ENGINE_ERROR'>, level=<ErrorLevel.ERROR: 'error'>, 
extra={'engine_name': 'Apache Druid', 'issue_codes': [{'code': 1002, 'message': 
'Issue 1002 - The database returned an unexpected error.'}]})]`
   
   Setting : 
   
   The Apache Druid Broker is running on port 8082. 
   I've tried running Apache Druid on the last version apache-druid-25.0.0 as 
well as on version 0.20.1 to follow the procedure from this website 
https://hevodata.com/learn/druid-superset-integration-3-easy-steps/#asip
   The version of superset used is 2.1.0
   
   Thank you for your time
   
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to