You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@druid.apache.org by GitBox <gi...@apache.org> on 2021/08/17 23:40:29 UTC

[GitHub] [druid] humit0 commented on issue #11607: How to use lookups in a WHERE expression?

humit0 commented on issue #11607:
URL: https://github.com/apache/druid/issues/11607#issuecomment-900701592


   How about trying above query.
   ```sql
   SELECT DISTINCT device_id, LOOKUP(device_id, 'devices') as date_created
   FROM "my_table"
   WHERE LOOKUP(device_id, 'devices') != '1'
   ```


-- 
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: commits-unsubscribe@druid.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



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