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

   ### Bug description
   
   Hi
   try this integrate superset docker version with QuestDB  as explain here: 
https://questdb.io/docs/third-party-tools/superset/
   
   after start docker and add database when i run simple select query got this 
error:
   
   Here is the error that i've got in superset webui:
   QuestDB Error
   questdb error: QuestDbEngineSpec.execute() takes 3 positional arguments but 
4 were given
   This may be triggered by:
   Issue 1002 - The database returned an unexpected error. 
   
   
   
   Here is the log:
   superset_app          | 2024-08-21 
06:15:19,877:WARNING:superset.views.error_handling:SupersetErrorsException
   superset_app          | Traceback (most recent call last):
   superset_app          |   File 
"/usr/local/lib/python3.10/site-packages/flask/app.py", line 1484, in 
full_dispatch_request
   superset_app          |     rv = self.dispatch_request()
   superset_app          |   File 
"/usr/local/lib/python3.10/site-packages/flask/app.py", line 1469, in 
dispatch_request
   superset_app          |     return 
self.ensure_sync(self.view_functions[rule.endpoint])(**view_args)
   superset_app          |   File 
"/usr/local/lib/python3.10/site-packages/flask_appbuilder/security/decorators.py",
 line 95, in wraps
   superset_app          |     return f(self, *args, **kwargs)
   superset_app          |   File "/app/superset/views/base_api.py", line 119, 
in wraps
   superset_app          |     duration, response = time_function(f, self, 
*args, **kwargs)
   superset_app          |   File "/app/superset/utils/core.py", line 1364, in 
time_function
   superset_app          |     response = func(*args, **kwargs)
   superset_app          |   File "/app/superset/views/base_api.py", line 91, 
in wraps
   superset_app          |     return f(self, *args, **kwargs)
   superset_app          |   File "/app/superset/utils/log.py", line 303, in 
wrapper
   superset_app          |     value = f(*args, **kwargs)
   superset_app          |   File "/app/superset/sqllab/api.py", line 409, in 
execute_sql_query
   superset_app          |     command_result: CommandResult = command.run()
   superset_app          |   File "/app/superset/utils/decorators.py", line 
266, in wrapped
   superset_app          |     return on_error(ex)
   superset_app          |   File "/app/superset/utils/decorators.py", line 
236, in on_error
   superset_app          |     raise ex
   superset_app          |   File "/app/superset/utils/decorators.py", line 
259, in wrapped
   superset_app          |     result = func(*args, **kwargs)
   superset_app          |   File "/app/superset/commands/sql_lab/execute.py", 
line 106, in run
   superset_app          |     status = self._run_sql_json_exec_from_scratch()
   superset_app          |   File "/app/superset/commands/sql_lab/execute.py", 
line 161, in _run_sql_json_exec_from_scratch
   superset_app          |     return self._sql_json_executor.execute(
   superset_app          |   File "/app/superset/sqllab/sql_json_executer.py", 
line 113, in execute
   superset_app          |     raise SupersetErrorsException(
   superset_app          | superset.exceptions.SupersetErrorsException: 
[SupersetError(message='questdb error: QuestDbEngineSpec.execute() takes 3 
positional arguments but 4 were given', 
error_type=<SupersetErrorType.GENERIC_DB_ENGINE_ERROR: 
'GENERIC_DB_ENGINE_ERROR'>, level=<ErrorLevel.ERROR: 'error'>, 
extra={'engine_name': 'QuestDB', 'issue_codes': [{'code': 1002, 'message': 
'Issue 1002 - The database returned an unexpected error.'}]})]
   
   
   
   gunicorn 22.0.0
   questdb-connect==1.0.12
   Redis version=7.4.0
   PostgreSQL 15.8 (Debian 15.8-1.pgdg120+1) on x86_64-pc-linux-gnu, compiled 
by gcc (Debian 12.2.0-14) 12.2.0, 64-bit
   celery@d41d4bb1f20b v5.4.0 (opalescent)
   Linux-5.14.0-70.13.1.el9_0.x86_64-x86_64-with-glibc2.36 (edited) 
   
   
   
   
   ### How to reproduce the bug
   
   ..
   
   ### Screenshots/recordings
   
   _No response_
   
   ### Superset version
   
   master / latest-dev
   
   ### Python version
   
   3.9
   
   ### Node version
   
   16
   
   ### Browser
   
   Chrome
   
   ### Additional context
   
   _No response_
   
   ### Checklist
   
   - [ ] I have searched Superset docs and Slack and didn't find a solution to 
my problem.
   - [ ] I have searched the GitHub issue tracker and didn't find a similar bug 
report.
   - [ ] 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