calles-work opened a new issue, #28603:
URL: https://github.com/apache/superset/issues/28603
### Bug description
The "view as table" view does not update it's content past the first
interaction, when the same query is used (including filter options, like time
range), within the caching window when caching is enabled.
Whilst the graphs/slices seem to use the cache accordingly and update their
content on dashboard refreshes, the "view as table" option does not.
### How to reproduce the bug
Enabled cahing in superset_config.py.
I have the following cache settings enabled:
`DATA_CACHE_CONFIG = {
'CACHE_TYPE: 'SimpleCache',
'CACHE_DEFAULT_TIMEOUT': 60*60*24,
'CACHE_THRESHOLD': 10000,
}`
Go to a dashboard and select "view as table" on a graph/slice.
Close the "view as table" pop up.
Wait until the dashboard has been refreshed, or force refresh it yourself,
and until new data has been received for the relevant graph/slice.
Without changing the query (including filter options), select "view as
table" on the same graph/slice as before.
The presented data should by the same as the first time "view as table" was
viewed.
### Screenshots/recordings
First interaction with "view as table" in caching window:

Second interaction with "view as table" in caching window on same graph
after dashboard refresh with new data:

### Superset version
4.0.1
### Python version
3.9
### Node version
16
### Browser
Chrome
### Additional context
_No response_
### Checklist
- [X] I have searched Superset docs and Slack and didn't find a solution to
my problem.
- [X] I have searched the GitHub issue tracker and didn't find a similar bug
report.
- [ ] I have checked Superset's logs for errors and if I found a relevant
Python stacktrace, I included it here as text in the "additional context"
section.
--
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]