zhaoyongjie commented on code in PR #19540:
URL: https://github.com/apache/superset/pull/19540#discussion_r843575394


##########
superset-frontend/src/explore/components/DataTablesPane/index.tsx:
##########
@@ -242,9 +255,13 @@ export const DataTablesPane = ({
         ...prevIsLoading,
         [resultType]: true,
       }));
+
+      chartUpdateCacheInvalidationStatus(false);
+
       return getChartDataRequest({
         formData: queryFormData,
         resultFormat: 'json',
+        force: !!latestQueryCacheInvalidatedRef.current,
         resultType,
         ownState,
       })

Review Comment:
   I remember that the `force` field is in the explore state, but I can not get 
a `True` value even though I clicked the `cached` button. Could we resolve this 
issue through change the `force` value?
   
   
![image](https://user-images.githubusercontent.com/2016594/161919457-d7aac73c-c51f-4c15-a843-395296291c26.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: [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