robertervin opened a new issue #6101: Druid InDimFilter Fails on Empty Values
URL: https://github.com/apache/incubator-druid/issues/6101
 
 
   ### Use Case:
   We dynamically build Druid queries by allowing the user to filter the UI. 
Sometimes this results in the user filtering out all options (sometimes 
unintentionally), and is something we want to allow for.
   
   ### Problem
   In 
https://github.com/apache/incubator-druid/blob/04ea3c9f8c1f5ea34b023217bd709509ace4d30d/processing/src/main/java/io/druid/query/filter/InDimFilter.java#L78
   Druid fails when filtering on empty values, though I see no reason why it 
should since the result should just be empty. e.g. in pseudocode,
   
   ```
    mydatasource.filter(mycolumn in []) = []
   ```
   
   Is there a better reason for this, or can I submit a PR to remove that 
restriction?

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

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@druid.apache.org
For additional commands, e-mail: commits-h...@druid.apache.org

Reply via email to