You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi,
We are using SQS on Celery and with this PR, it invokes forget() call, but it seems SQS backend has not implemented it. From Google search, AMQP also hasn't implemented it yet.
Since, not all backend implementation has this method implemented, how about isolate this failure by wrapping with try...except?
Traceback (most recent call last):
File "/srv/venvs/service/trusty/service_venv_python3.6/lib/python3.6/site-packages/superset/views/core.py", line 2117, in _sql_json_async
task.forget()
File "/srv/venvs/service/trusty/service_venv_python3.6/lib/python3.6/site-packages/celery/result.py", line 146, in forget
self.backend.forget(self.id)
File "/srv/venvs/service/trusty/service_venv_python3.6/lib/python3.6/site-packages/celery/backends/base.py", line 463, in forget
self._forget(task_id)
File "/srv/venvs/service/trusty/service_venv_python3.6/lib/python3.6/site-packages/celery/backends/base.py", line 466, in _forget
raise NotImplementedError('backend does not implement forget.')
NotImplementedError: backend does not implement forget.
Issue-Label Bot is automatically applying the label #bug to this issue, with a confidence of 0.66. Please mark this comment with 👍 or 👎 to give our bot feedback!
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. For admin, please label this issue .pinned to prevent stale bot from closing the issue.
Hi,
We are using SQS on Celery and with this PR, it invokes
forget()
call, but it seems SQS backend has not implemented it. From Google search, AMQP also hasn't implemented it yet.Since, not all backend implementation has this method implemented, how about isolate this failure by wrapping with
try...except
?Expected results
No exception when user submit query from SQL Lab.
Actual results
Failing with message at https://github.com/apache/incubator-superset/blob/master/superset/views/core.py#L2142
Screenshots
If applicable, add screenshots to help explain your problem.
How to reproduce the bug
Environment
(please complete the following information):
0.37
3.6
Checklist
Make sure these boxes are checked before submitting your issue - thank you!
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: