You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@druid.apache.org by GitBox <gi...@apache.org> on 2019/08/01 21:45:15 UTC

[GitHub] [incubator-druid] ccaominh opened a new pull request #8223: Add IPv4 SQL functions

ccaominh opened a new pull request #8223: Add IPv4 SQL functions
URL: https://github.com/apache/incubator-druid/pull/8223
 
 
   ### Description
   
   New SQL functions for filtering IPv4 addresses:
   - 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
   
   These are the SQL analogs of the druid expressions with the same name.
   Filtering is more efficient when operating on IP addresses as integers
   instead of strings.
   
   <hr>
   
   This PR has:
   - [x] been self-reviewed.
   - [x] added documentation for new or modified features or behaviors.
   obvious for an unfamiliar reader.
   - [x] added unit tests or modified existing tests to cover new code paths.

----------------------------------------------------------------
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:
users@infra.apache.org


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@druid.apache.org
For additional commands, e-mail: commits-help@druid.apache.org