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

   ### Bug description
   
   please help!
   superset version 4.1.1
   OceanBase version 3.1.4
   
   SQLALCHEMY URL should be
   
   oceanbase://@#:@:/[?key=value&key=value...]
   
   Stacktrace
   
   Traceback (most recent call last):
   File 
"/root/superset/lib64/python3.9/site-packages/superset/commands/database/test_connection.py",
 line 170, in run
   raise DBAPIError(ex_str or None, None, None)
   sqlalchemy.exc.DBAPIError: (builtins.NoneType) None
   [SQL: '>=' not supported between instances of 'NoneType' and 'tuple']
   (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 "/root/superset/lib64/python3.9/site-packages/flask/app.py", line 1484, 
in full_dispatch_request
   rv = self.dispatch_request()
   File "/root/superset/lib64/python3.9/site-packages/flask/app.py", line 1469, 
in dispatch_request
   return self.ensure_sync(self.view_functions[rule.endpoint])(**view_args)
   File 
"/root/superset/lib64/python3.9/site-packages/flask_appbuilder/security/decorators.py",
 line 109, in wraps
   return f(self, *args, **kwargs)
   File 
"/root/superset/lib64/python3.9/site-packages/superset/views/base_api.py", line 
119, in wraps
   duration, response = time_function(f, self, *args, **kwargs)
   File "/root/superset/lib64/python3.9/site-packages/superset/utils/core.py", 
line 1364, in time_function
   response = func(*args, **kwargs)
   File "/root/superset/lib64/python3.9/site-packages/superset/utils/log.py", 
line 303, in wrapper
   value = f(*args, **kwargs)
   File 
"/root/superset/lib64/python3.9/site-packages/superset/views/base_api.py", line 
91, in wraps
   return f(self, *args, **kwargs)
   File 
"/root/superset/lib64/python3.9/site-packages/superset/databases/api.py", line 
1215, in test_connection
   TestConnectionDatabaseCommand(item).run()
   File 
"/root/superset/lib64/python3.9/site-packages/superset/commands/database/test_connection.py",
 line 199, in run
   raise SupersetErrorsException(errors) from ex
   superset.exceptions.SupersetErrorsException: 
[SupersetError(message="(builtins.NoneType) None\n[SQL: '>=' not supported 
between instances of 'NoneType' and 'tuple']\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': 'OceanBase', 'issue_codes': [{'code': 1002, 'message': 
'Issue 1002 - The database returned an unexpected error.'}]})]
   
   ### Screenshots/recordings
   
   _No response_
   
   ### Superset version
   
   4.1.1
   
   ### Python version
   
   3.9
   
   ### Node version
   
   16
   
   ### Browser
   
   Chrome
   
   ### Additional context
   
   _No response_
   
   ### Checklist
   
   - [x] I have searched Superset docs and Slack and didn't find a solution to 
my problem.
   - [x] I have searched the GitHub issue tracker and didn't find a similar bug 
report.
   - [x] I have checked Superset's logs for errors and if I found a relevant 
Python stacktrace, I included it here as text in the "additional context" 
section.


-- 
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: notifications-unsubscr...@superset.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscr...@superset.apache.org
For additional commands, e-mail: notifications-h...@superset.apache.org

Reply via email to