Airliquide76 commented on code in PR #29840:
URL: https://github.com/apache/superset/pull/29840#discussion_r1927612213
##########
superset/connectors/sqla/models.py:
##########
@@ -1963,7 +1965,7 @@ class and any keys added via `ExtraCache`.
if self.has_extra_cache_key_calls(query_obj):
sqla_query = self.get_sqla_query(**query_obj)
extra_cache_keys += sqla_query.extra_cache_keys
- return extra_cache_keys
+ return list(set(extra_cache_keys))
Review Comment:
Main error was a 422
with "Error loading data from cache"uwsgi_superset.log:2025-01-23
And a warning like
15:10:33,731:WARNING:superset.common.utils.query_cache_manager:force_cached
(QueryContext): value not found for key 8bda314040760dc2b33b861fb943fc52
Flipping this line make verything works.
Maybe the key for cache creation is not deduplicate and we may have some
duplicate on the key witch fail retriving
--
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]