You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@superset.apache.org by GitBox <gi...@apache.org> on 2019/11/07 13:15:58 UTC

[GitHub] [incubator-superset] leon90dm opened a new issue #8526: Long run query support in Chart Query

leon90dm opened a new issue #8526: Long run query support in Chart Query
URL: https://github.com/apache/incubator-superset/issues/8526
 
 
   **Is your feature request related to a problem? Please describe.**
   I've set up Celery task with the following config:
   
   ```
   class CeleryConfig(object):
       BROKER_URL = 'redis://localhost:6379/0'
       CELERY_IMPORTS = (
           'superset.sql_lab',
           'superset.tasks',
       )
       CELERY_RESULT_BACKEND = 'redis://localhost:6379/0'
       CELERYD_LOG_LEVEL = 'INFO'
       CELERYD_PREFETCH_MULTIPLIER = 10
       CELERY_ACKS_LATE = True
       CELERY_ANNOTATIONS = {
           'sql_lab.get_sql_results': {
               'rate_limit': '100/s',
           }
       }
       CELERYBEAT_SCHEDULE = {
       }
   
   CELERY_CONFIG = CeleryConfig
   ```
   Sql lab seems work OK when fire long run query, PENDING status changes to RUNNING.  But In Chart Tab, after fired query button,  breaking with timeout. 
   Or Chart Query doesn't support async long run query?  Why?
   
   
   **Additional context**
   - x86_64 GNU/Linux
   - Python 3.6.9
   - Flask 1.1.1
   - Werkzeug 0.16.0

----------------------------------------------------------------
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:
users@infra.apache.org


With regards,
Apache Git Services

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