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/03/16 03:30:14 UTC

[GitHub] [druid] MakDon commented on issue #2187: I would like JavaScript filters to be able to work on multiple columns

MakDon commented on issue #2187:
URL: https://github.com/apache/druid/issues/2187#issuecomment-799916283


   I would like to do something like
   ```
    {
     "type" : "javascript",
     "dimensions" : ["__time", "product_release_day"]
     "function" : "function(t, rt) { return inTheSameDay(t,rt) }"
   }
   ```
   
   in which the `product_release_day`'s layout is `2006-01-02`, making that the Selector filter could not work in this case
   is there any method could i use to compare `__time` with another dimensions?


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

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