SpyderRivera commented on issue #4812: Filter by lookup 
URL: 
https://github.com/apache/incubator-superset/issues/4812#issuecomment-385459832
 
 
   I am getting similar results for Druid data sources only I didn't realize it 
until I tried to look at the == results instead on !=. I'm on version v0.24.0. 
For some reason, the filter is not being applied correctly. I looked at the 
query that is generated and the lookup is passed and the filter is also applied 
in the query.  This makes me think it is something on the druid end or how 
exactly the query is formed.  
   Possible solutions in fixing the query building piece:
   - Add an extractionFn to the selector filter which repeats the map from the 
list of dimensions. 
http://druid.io/docs/latest/querying/filters.html#filtering-with-extraction-functions
   
   - Use a having filter instead which will apply the filter after the grouping.
   
   The former is slightly more performant. 

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services

Reply via email to