EgorEna opened a new issue #11868:
URL: https://github.com/apache/druid/issues/11868


   Hey, I created a lookup and was hoping that it will  update  within given 
time range
   But actually it's not (data remains the same )
   
   Here is what specified in the config.
   ```
   
   {
     "type": "cachedNamespace",
     "extractionNamespace": {
       "type": "jdbc",
       "connectorConfig": {
         "connectURI": "someuri",
         "user": "someuser",
         "password": "somepass"
       },
       "table": "sometable",
       "keyColumn": "somekey",
       "valueColumn": "somevalue",
       "filters": "not thing_name is null"
     },
     "firstCacheTimeout": 0,
     "pollPeriod": "PT5M",
     "injective": true
   }
   
   ```
   
   
   Also I tried to create a lookup from example located 
[here](https://druid.apache.org/docs/latest/development/extensions-core/druid-lookups.html#example-of-polling-on-heap-lookup)
   
   It looks like
   
   ```
   {
     "type": "pollingLookup",
     "pollPeriod": "PT10M",
     "dataFetcher": {
       "type": "jdbcDataFetcher",
       "connectorConfig": "someuri",
       "table": "sometable",
       "keyColumn": "somekey",
       "valueColumn": "somevalue"
     },
     "cacheFactory": {
       "type": "onHeapPolling"
     }
   } 
   
   ```
   
   First config is creating a lookup which is not updating
   Second one (straight from the docs) doesn't appear in the lookup schema at 
all (telling that this lookup does not exist)
   
   Can someone help and answer what is missing?
   
   
   
   


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