mr-woot opened a new issue, #21176:
URL: https://github.com/apache/superset/issues/21176

   Error while connecting to dremio client
   
   #### Screenshots
   
   ```
   Traceback (most recent call last):
     File “/usr/local/lib/python3.8/site-packages/flask/app.py”, line 1516, in 
full_dispatch_request
       rv = self.dispatch_request()
     File “/usr/local/lib/python3.8/site-packages/flask/app.py”, line 1502, 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 89, in wraps
       return f(self, *args, **kwargs)
     File “/app/superset/views/base_api.py”, line 113, in wraps
       raise ex
     File “/app/superset/views/base_api.py”, line 110, in wraps
       duration, response = time_function(f, self, *args, **kwargs)
     File “/app/superset/utils/core.py”, line 1507, in time_function
       response = func(*args, **kwargs)
     File “/app/superset/utils/log.py”, line 245, in wrapper
       value = f(*args, **kwargs)
     File “/app/superset/views/base_api.py”, line 83, in wraps
       return f(self, *args, **kwargs)
     File “/app/superset/databases/api.py”, line 709, in test_connection
       TestConnectionDatabaseCommand(g.user, item).run()
     File “/app/superset/databases/commands/test_connection.py”, line 145, in 
run
       raise DatabaseTestConnectionFailedError(errors) from ex
   superset.databases.commands.exceptions.DatabaseTestConnectionFailedError: 
[SupersetError(message=‘(builtins.NoneType) None\n(Background on this error at: 
http://sqlalche.me/e/13/dbapi)’, 
error_type=<SupersetErrorType.GENERIC_DB_ENGINE_ERROR: 
‘GENERIC_DB_ENGINE_ERROR’>, level=<ErrorLevel.ERROR: ‘error’>, 
extra={‘engine_name’: ‘Dremio’, ‘issue_codes’: [{‘code’: 1002, ‘message’: 
‘Issue 1002 - The database returned an unexpected error.’}]})]
   ```
   
   **- Strange to see it works with preset but not on my customized container 
deployment.** 
   
   Additional points:
   I've tested connection via both flight and non-flight based mode in dremio.
   ```dremio://{USER}:{PASS}@{IP}:31010/dremio```
   and
   ```dremio+flight://{USER}:{PASS}@{IP}:31010/dremio```
   
   ### Environment
   
   - browser type and version:
   - superset version: `2.0.0`
   - python version: `3.7`
   
   


-- 
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