-
Notifications
You must be signed in to change notification settings - Fork 3.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Can we have IN filter? #2157
Comments
We don't have support for
|
I too would like this, and it should be easy with some query re-writing of the AST. Let me see if I can get to it. |
A potentially easier workaround than multiple
That said, supporting |
+1 |
Hi Guys, Is this feature request still valid? If it is valid, can I work on this task? Thanks |
Yes, we are still interested in this feature. |
Thanks, I will start working on this during weekend. |
I would love this feature |
+1 |
this feature any update? |
Looking forward to this. I would be fine using the |
So this issue isn't likely to be resolved very quickly, but I thought I should point out that we support using Here's an example of doing it in Go with a GET/POST and
Here's a (more complicated) example where you upload a file using POST. I'm honestly not sure if, practically, they are any different from each other.
I hope that helps. Note that you can mix query parameters and the body parameters so you can put things like |
@kalidasya "We have another usecase, the support for IN would make it possible to integrate Grafana's multiselect feature with influx" here for this reason! i'm trying to use "all" option with a variable in Grafana but doesn't work, only if you select all them but one by one |
Is this a feature that is still being developed? |
I just come across this issue as well while I was trying to show data aggregated by host (so same use case as the second comment before mine above). I believe many will benefit from this capability. I am surprised it's not already implemented.. |
It would be great to have this feature. |
* feat(view-token-overlay): add view token overlay * test(tokens): update tests * chore(auths): rename mock data file * feat(token-view): clicking on description opens token view modal * feat(token-view): add ability to close overlay * feat(token-view): display token permissions with updated permissions shape * feat(token-view): wip update authorization and permission shapes * feat(auth): wip refactor auth permissions * fix(auth): generate permissions via functions * fix(auth): make Id ID * chore(types): update generated client * feat(auth): wip add user and org names to auth * fix(user): didnt save rebase * feat(auth): WIP refactor auth * feat(auth): check for user existence during auth creation * feat(auth): org must exist during auth creation * fix(auth): pluralize telegrafs resource type * docs(http): update swagger definition for the Authorization * test(auth): fix broken tests * docs(swagger): update cur_swagger Authrorizations * fix(api): remove trace from cur_swag * test(ui/token): update components with new generated type definitions * feat(http): add lookup service adding names for permissions * fix(http): remove debugging panics * chore: go tidy * fix: unsaved rebase * test(idpe): add ids to Authorizations for log tests
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
This issue has been automatically closed because it has not had recent activity. Please reopen if this issue is still important to you. Thank you for your contributions. |
Oh, good to see that influx is using this stalebot cancer. Christ. |
Is there something that we can do to have a IN clause or a workaround with regexes ? |
I think it would be great if someone could at least settle the discussion on the performance impact of using regexp vs Docs also state that
which is kind of obvious, but doesn't give any substantial guidance in this case. So what's going on behind the scenes? Is the set of tags matching the regexp first being looked up and then used as a condition (should be fast for fairly sized sets), or is the tags of each entry matched against the regexp (potentially slooow) - or something completely different? |
+1 - using IN would be great in transitioning from Postgres to Influx |
@mjiderhamn this would be great but this issue beeing closed, I don't think there will be an update on this topic anytime soon. |
Hi..I was trying to implement something similar using both reg ex and 'OR' . Reg ex : if the value I have passed is contained in the column value, it reads that though it shouldn't. Reg ex is similar to 'contains'..I want to compare the exact same value. OR : I want data for both values not either of them. Please suggest another approach for IN clause. |
I think the all point of having an IN() clause is not write This is real purpose of in() to deal with temporary on the fly intermediary collections, ain't it ? |
If RegEx specifies an exact term, it is equivalent to checking for an exact value – as opposed to "contains" or "is similar to", which one would usually associate with RegEx. Please look at this The latter is a RegEx that specifies two exact values, However, the beauty in the … Still an |
Hi! Great job for InfluxDB.
And I wonder If it can support IN filter in where clause, so far it seems no supported:
version: bdd469d
The text was updated successfully, but these errors were encountered: