Ujjwaljain16 commented on issue #38219: URL: https://github.com/apache/superset/issues/38219#issuecomment-4142300486
Thanks for raising this i was able to reproduce it and confirm the root cause when dynamic filter values are enabled, the request actually goes through `/api/v1/chart/data`, so it ends up using `DATA_CACHE_CONFIG` that’s why the dropdown values stay stale they’re being cached like chart queries, not like filter state i’ve put together a small fix that detects native filter option queries (`native_filter_id` + `filter_*` viz type) and uses `FILTER_STATE_CACHE_CONFIG` timeout instead no changes to cache keys or pipeline just aligning TTL with expected filter behavior added tests to cover both filter and non-filter cases. happy to adjust if there’s a preferred way to detect these queries. -- 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]
