Conversation
|
Thanks for the contribution, can you please sign the CLA? |
|
Done. |
|
@scrawfor not sure how this is different from |
|
@b-slim If by
becomes Now I can see what my results are without the filter, and I haven't made any large modifications to my query. If I want to re-enable my filter, I just change "noop" back to "and". |
|
@scrawfor You can also change "filter" to "afilter" , it does the same thing :). But this is useful too, but you have to remember which filter you have replaced with noop |
|
I've been running this in my cluster for a week or so, and just found a bug. If you change the type of a filter to
throws
Very unfamiliar with the project still, but to me the appropriate solution would be to remove any noop filters instead of trying to actually convert it to a filter. But I wanted to open it up and see if you guys had any input. |
|
@scrawfor IMO this noop filter is no sense i think what you are asking for is |
|
I'm fine with that. It does better represent what we are actually doing. I only went with the noop because it already existed Take a look and let me know if this is more like what you're thinking. |
@scrawfor where ? |
|
My bad. Wan't thinking that this wouldn't be updated. I created a new PR #5711 |
It would be useful to expose the noop filter to users. This allows a filter to be "switched off" without removing the filter property from the json. This is useful when developing a query, or in tools which programmatically generate druid queries.