Skip to content
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

Add support in dplyr api for has, contains, matches regex etc. string operators #3

Open
hongooi73 opened this issue May 23, 2019 · 1 comment
Labels
enhancement New feature or request

Comments

@hongooi73
Copy link
Collaborator

No description provided.

@hongooi73 hongooi73 added the enhancement New feature or request label May 23, 2019
@alexkyllo
Copy link
Member

alexkyllo commented Jul 17, 2019

Arbitrary KQL operators can be used by surrounding with %
E.g.
filter(Url %matches regex% "https://docs.microsoft.com/([^/]*)/cli/azure/")
gets translated correctly as
| where ['Url'] matches regex 'https://docs.microsoft.com/([^/]*)/cli/azure/'

The one that doesn't work right is %in% because it's overloaded with %in% ([Table or Query]). I will work on a patch to fix that. Workaround in the meantime is to use %in~% which is the case-insensitive version.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants