sb89594 opened a new pull request, #15212:
URL: https://github.com/apache/druid/pull/15212

   Fixes #10817.
   
   ### Description
   Added a SQL function to match IPv6 addresses to a given subnet. This was 
based off the existing `IPv4_MATCH` function. I initially considered changing 
the existing `IPv4_MATCH` function to be a more generic (e.g. `IP_MATCH`). 
However, given this has been a function for some time I thought it best to keep 
the existing function for existing queries and make an IPv6 specific 
implementation. Like the existing IPv4 implementation, this relies on the Java 
`inet.ipaddr` library
   
   #### Release note
   
   Added `IPv6_MATCH` SQL function for matching IPv6 addresses in a subnet
   
   ##### Key added classes in this PR
    * `IPv6AddressExprUtils`
    * `IPv6AddressMatchExprMacro`
   
   This PR has:
   
   - [x] been self-reviewed.
   - [x] added documentation for new or modified features or behaviors.
   - [x] a release note entry in the PR description.
   - [x] added Javadocs for most classes and all non-trivial methods. Linked 
related entities via Javadoc links.
   - [x] added unit tests or modified existing tests to cover new code paths, 
ensuring the threshold for [code 
coverage](https://github.com/apache/druid/blob/master/dev/code-review/code-coverage.md)
 is met.
   - [x] been tested in a test Druid cluster.
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to