mirror of
https://github.com/apache/superset.git
synced 2026-04-19 08:04:53 +00:00
[cache] Cleaning up viz/cache logic (#9375)
Co-authored-by: John Bodley <john.bodley@airbnb.com>
This commit is contained in:
@@ -213,6 +213,8 @@ class QueryContext:
|
||||
df = query_result["df"]
|
||||
if status != utils.QueryStatus.FAILED:
|
||||
stats_logger.incr("loaded_from_source")
|
||||
if not self.force:
|
||||
stats_logger.incr("loaded_from_source_without_force")
|
||||
is_loaded = True
|
||||
except Exception as e: # pylint: disable=broad-except
|
||||
logger.exception(e)
|
||||
|
||||
Reference in New Issue
Block a user