You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@superset.apache.org by "leagueofsoups (via GitHub)" <gi...@apache.org> on 2023/04/02 12:53:00 UTC

[GitHub] [superset] leagueofsoups commented on issue #23546: superset 2.0.1 dashboard and charts async update

leagueofsoups commented on issue #23546:
URL: https://github.com/apache/superset/issues/23546#issuecomment-1493324160

   My debug results:
   My chart generate POST with body
   ```
   result_type:	"full"
   result_format: "json"
   ```
   When I have valid cache, my web pod return result from cache https://github.com/apache/superset/blame/master/superset/charts/data/api.py#L322 and response contain "cache_key" https://github.com/apache/superset/blob/master/superset/charts/data/commands/get_data_command.py#L63
   
   When my cache invalid, query run async on celery worker. https://github.com/apache/superset/blame/master/superset/charts/data/api.py#L338 
   https://github.com/seonguk9303/superset/blob/main/superset/charts/data/commands/create_async_job_command.py#L35
   
   But when I try click force update inside chart page, my result return from redis, is this expected?
   <img width="296" alt="изображение" src="https://user-images.githubusercontent.com/41836635/229353929-80094f18-fe4e-416f-9a16-4a23f7d0bc64.png">
   


-- 
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-unsubscribe@superset.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


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