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

   ### Description
   Follow up to #11634, this PR fixes a regression when matching some prefixes, 
which in cases like`ip_match('192.168.1.250', '192.168.1.251/31')` was now 
evaluating to false. The solution is to use `prefixContains` instead of 
`contains`. Added tests to ensure that this behaves as it did previously and 
this evaluates to true.
   
   This PR has:
   - [x] been self-reviewed.
   - [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