muralikrishnankh opened a new issue, #21234:
URL: https://github.com/apache/superset/issues/21234

   The Native filters doesn't update their cached values after Refresh 
Dashboard even though the data is updated in the Database. The Native filters 
seems to be getting refreshed but the data doesn't get updated.
   
   #### How to reproduce the bug
   
   1. Install any version of Superset
   2. Add some data to the connected Database. I have connected to Clickhouse 
DB.
   3. Open Superset.
   4. The Native filters will have the added values
   5. Add some more data to the DB
   6. Click Refresh Dashboard on the Dashboard
   
   ### Expected results
   
   The Native Filters data should get updated as per latest data.
   
   ### Actual results
   
   The Native filter data doesn't get refreshed
   
   #### Screenshots
   
   Clicking the Refresh Dashboard:
   
![image](https://user-images.githubusercontent.com/88179228/187179583-cef49be5-eeef-41ce-9250-58123edef928.png)
   
   GIF indicating the Native filters getting refreshed after clicking Refresh 
Dashboard
   
![image](https://user-images.githubusercontent.com/88179228/187180257-8780b97e-b973-412a-8b29-1433949f4cc2.png)
   
   
   
   ### Environment
   
   (please complete the following information):
   
   - browser type and version: Microsoft Edge Version 104.0.1293.63 (Official 
build) (64-bit)
   - superset version: Tried in both 1.4.0 and 2.0.0
   - any feature flags active:
   
       FEATURE_FLAGS = {
           "ENABLE_TEMPLATE_PROCESSING": True,
           "ALERT_REPORTS": True
       }
   - Cache setting:
      
     Tried with default cache setting and redis cache. For redis, the following 
settings were used:
         CACHE_CONFIG = {
           'CACHE_TYPE': 'RedisCache',
           'CACHE_REDIS_URL': 
f"redis://{env('REDIS_HOST')}:{env('REDIS_PORT')}/0",
           'CACHE_DEFAULT_TIMEOUT': 10,
   
           'CACHE_KEY_PREFIX': 'superset_filter_'
       }
       FILTER_STATE_CACHE_CONFIG = CACHE_CONFIG
   
   
   
   


-- 
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