superset-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From GitBox <>
Subject [GitHub] [incubator-superset] jinhyukchang opened a new issue #10757: SQL Lab. Celery task.forget() is not supported by all backends. "NotImplementedError: backend does not implement forget."
Date Tue, 01 Sep 2020 22:57:15 GMT

jinhyukchang opened a new issue #10757:

   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/",
line 2117, in _sql_json_async
     File "/srv/venvs/service/trusty/service_venv_python3.6/lib/python3.6/site-packages/celery/",
line 146, in forget
     File "/srv/venvs/service/trusty/service_venv_python3.6/lib/python3.6/site-packages/celery/backends/",
line 463, in forget
     File "/srv/venvs/service/trusty/service_venv_python3.6/lib/python3.6/site-packages/celery/backends/",
line 466, in _forget
       raise NotImplementedError('backend does not implement forget.')
   NotImplementedError: backend does not implement forget.
   ### Expected results
   No exception when user submit query from SQL Lab.
   ### Actual results
   Failing with message at
   #### Screenshots
   If applicable, add screenshots to help explain your problem.
   #### How to reproduce the bug
   1. Use SQS as Celery backend
   2. Submit query in SQLLab
   ### Environment
   (please complete the following information):
   - superset version: `0.37`
   - python version: `3.6`
   ### Checklist
   Make sure these boxes are checked before submitting your issue - thank you!
   - [x] I have checked the superset logs for python stacktraces and included it here as text
if there are any.
   - [x] I have reproduced the issue with at least the latest released version of superset.
   - [x] I have checked the issue tracker for the same issue and I haven't found one similar.
   ### Additional context
   Add any other context about the problem here.

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.

For queries about this service, please contact Infrastructure at:

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message