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

   Hello, I have tried to turn on GAQ on the latest helm/superset release 
(0.6.1, 1.5.0, respectively). When I try to run a query from a chart, the chart 
spins until it times out. However, I can see the query execute on the data 
warehouse and the results are returned to redis. In fact, if I refresh the 
chart page after seeing the load_chart_data_into_cache task complete 
successfully on the worker, then the chart pulls from redis and loads as 
expected. I believe that I've configured superset as outlined 
[here](https://github.com/preset-io/superset/blob/master/CONTRIBUTING.md#async-chart-queries).
   
   Async queries are running as expected in sql labs.
   
   #### How to reproduce the bug
   
   Deploy superset to k8s using helm with the following config overrides:
   ```    
   configOverrides:
     enable_gaq: |
       GLOBAL_ASYNC_QUERIES_JWT_SECRET = env('GLOBAL_ASYNC_QUERIES_JWT_SECRET')
       GLOBAL_ASYNC_QUERIES_REDIS_CONFIG = {
         "port": env('REDIS_PORT'),
         "host": env('REDIS_HOST'),
         "password": env('REDIS_PASSWORD'),
         "db": 0,
         "ssl": False
        }
   
       FEATURE_FLAGS = { 'GLOBAL_ASYNC_QUERIES': True }
   ```
   
   ### Expected results
   
   I expect the chart to render results after the query completes.
   
   ### Actual results
   
   The chart never renders.
   
   #### Screenshots
   
   
![image](https://user-images.githubusercontent.com/52328004/166571110-f9993cd7-4e8a-4744-8611-4ce427ead4e8.png)
   
   ### Environment
   
   (please complete the following information):
   
   - browser type and version: Firefox 99.0.1 (64-bit)
   - superset version: `1.5.0`
   - python version: `3.8.12`
   - node.js version: `node -v`
   - any feature flags active: Global async queries
   
   ### Checklist
   
   Make sure to follow these steps 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.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to