Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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 CIDR function to PPL (#3036) #3110
Add CIDR function to PPL (#3036) #3110
Changes from 37 commits
bd264a0
c2ecdf7
bfcbbf5
093696a
f0464d3
ce8d190
6d56ac9
96aaa89
04af98d
f2ca434
efe26b8
824c463
3ffac2e
128bb4b
3f267a7
d473fc7
9ba705a
c95152e
9c7f5b6
b7fb7f7
4b60ae1
08af013
4b05c24
17decc8
e8b6f4e
ac02e67
8c17404
20c9672
fb0be94
3af85af
aa9cb85
cff2418
8324c4c
e758077
677bdc8
43d05d6
23219cb
d3be058
c216763
1b608c6
File filter
Filter by extension
Conversations
Jump to
There are no files selected for viewing
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
not sure why you added the
match
here:There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ok, to match with spark documentation: https://github.com/opensearch-project/opensearch-spark/blob/main/docs/ppl-lang/functions/ppl-ip.md
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@acarbonetto good catch 👍
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yup, as mentioned, I used
cidrmatch
for consistency with Spark (even though I agree thatcidr
is a better name...)There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nice - but next time lets separate general code refactory from a specific feature plz