Skip to content

#3145 Add IP Address Data Type#3175

Merged
YANG-DB merged 26 commits into
opensearch-project:mainfrom
Bit-Quill:opensearch-sql-3145
Dec 19, 2024
Merged

#3145 Add IP Address Data Type#3175
YANG-DB merged 26 commits into
opensearch-project:mainfrom
Bit-Quill:opensearch-sql-3145

Conversation

@currantw
Copy link
Copy Markdown
Contributor

@currantw currantw commented Nov 29, 2024

Signed-off-by: currantw taylor.curran@improving.com

Description

#3145 Add IP Address Data Type

Related Issues

Resolves #3145
#3036

Check List

  • New functionality includes testing.
  • New functionality has been documented.
  • New functionality has javadoc added.
  • New functionality has a user manual doc added.
  • API changes companion pull request created.
  • Commits are signed per the DCO using --signoff.
  • Public documentation issue/PR created.

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

YANG-DB
YANG-DB previously approved these changes Dec 6, 2024
@YANG-DB
Copy link
Copy Markdown
Member

YANG-DB commented Dec 6, 2024

@currantw can we test an IP range query as well?
With operations such as < and in range

@currantw currantw closed this Dec 10, 2024
@currantw currantw reopened this Dec 10, 2024
@currantw
Copy link
Copy Markdown
Contributor Author

Woops! Didn't mean to close this... 😬

@YANG-DB
Copy link
Copy Markdown
Member

YANG-DB commented Dec 10, 2024

@currantw can u plz resolve conflicts ?

Signed-off-by: currantw <taylor.curran@improving.com>
Signed-off-by: currantw <taylor.curran@improving.com>
Signed-off-by: currantw <taylor.curran@improving.com>
Signed-off-by: currantw <taylor.curran@improving.com>
Signed-off-by: currantw <taylor.curran@improving.com>
Signed-off-by: currantw <taylor.curran@improving.com>
Signed-off-by: currantw <taylor.curran@improving.com>
…s` test data.

Signed-off-by: currantw <taylor.curran@improving.com>
Signed-off-by: currantw <taylor.curran@improving.com>
Signed-off-by: currantw <taylor.curran@improving.com>
Signed-off-by: currantw <taylor.curran@improving.com>
Signed-off-by: currantw <taylor.curran@improving.com>
Signed-off-by: currantw <taylor.curran@improving.com>
Signed-off-by: currantw <taylor.curran@improving.com>
Signed-off-by: currantw <taylor.curran@improving.com>
Signed-off-by: currantw <taylor.curran@improving.com>
Signed-off-by: currantw <taylor.curran@improving.com>
Signed-off-by: currantw <taylor.curran@improving.com>
Signed-off-by: currantw <taylor.curran@improving.com>
@currantw currantw force-pushed the opensearch-sql-3145 branch from e8b3d96 to 6355b2d Compare December 18, 2024 02:07
Signed-off-by: currantw <taylor.curran@improving.com>
Copy link
Copy Markdown
Member

@YANG-DB YANG-DB left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@currantw can you plz also add test with > , < where clause operators ?

Comment thread DEVELOPER_GUIDE.rst
>>>>>>>

Python doctest library makes our document executable which keeps it up-to-date to source code. The doc generator aforementioned served as scaffolding and generated many docs in short time. Now the examples inside is changed to doctest gradually. For more details please read `Doctest <./dev/Doctest.md>`_.
Python doctest library makes our document executable which keeps it up-to-date to source code. The doc generator aforementioned served as scaffolding and generated many docs in short time. Now the examples inside is changed to doctest gradually. For more details please read `testing-doctest <./docs/dev/testing-doctest.md>`_.
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@currantw just making sure - why was changed ?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Noticed while reading through this that Doctest.md no longer exists, so corrected the link.

Signed-off-by: currantw <taylor.curran@improving.com>
Comment thread docs/user/ppl/functions/ip.rst
…nd weblogs test index to make plural for consistency.

Signed-off-by: currantw <taylor.curran@improving.com>
Copy link
Copy Markdown
Collaborator

@acarbonetto acarbonetto left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@currantw
Copy link
Copy Markdown
Contributor Author

@currantw can you plz also add test with > , < where clause operators ?

Good call. Added new test class IPComparisonIT, which has integration tests for all the comparison operators (i.e. =, !=, <, <=, >, and >=. )

Copy link
Copy Markdown
Member

@YANG-DB YANG-DB left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@currantw LGTM !
thanks

@YANG-DB YANG-DB merged commit 3430deb into opensearch-project:main Dec 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[FEATURE] Add Support for IP Data Type

3 participants