smit-aterlo opened a new issue #10817: URL: https://github.com/apache/druid/issues/10817
### Motivation Druid already has IPv4 Functions as follow: - IPV4_MATCH: Check if IP address belongs to a subnet - IPV4_PARSE: Convert string IP address to integer - IPV4_STRINGIFY: Convert integer IP address to string So adding IPv6 Functions makes it more usable with networking databases. ### Proposed changes Adding IPv6 Function for SQL as follow: - IPV6_MATCH: Check if IP address belongs to a subnet Not adding function to convert into number as IPv6 represents 128bits. ### Rationale The approach is achieving this by using the library https://github.com/janvanbesien/java-ipv6 as `org.apache.commons.net.util.SubnetUtils` does not provide IPv6 support. I can help to achieve this functionality. If you have any better library to use please suggest. Thank you ---------------------------------------------------------------- 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. For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
