kfaraz commented on issue #11813:
URL: https://github.com/apache/druid/issues/11813#issuecomment-985982599


   Negation with `IS NULL` is typically problematic because of how the 
expression `dim IS NULL` is evaluated.
   That is why we have `IS NOT NULL`
   
   Try re-writing your query like this:
   ```
   select * from foo where dim is not null and dim <> 'a'
   ```


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