You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@drill.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2017/10/31 15:54:00 UTC

[jira] [Commented] (DRILL-5834) Add Networking Functions

    [ https://issues.apache.org/jira/browse/DRILL-5834?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16227020#comment-16227020 ] 

ASF GitHub Bot commented on DRILL-5834:
---------------------------------------

Github user arina-ielchiieva commented on the issue:

    https://github.com/apache/drill/pull/971
  
    @cgivre under squash commits @paul-rogers meant that you should end up with one commit (now you have 13). You might consider using rebase and then do force push in your branch to overwrite this 13 commits. Also please make sure your commit message has proper naming: DRILL-XXX: <message>. In your case, `DRILL-5834: Add networking functions`.


> Add Networking Functions
> ------------------------
>
>                 Key: DRILL-5834
>                 URL: https://issues.apache.org/jira/browse/DRILL-5834
>             Project: Apache Drill
>          Issue Type: Improvement
>          Components: Functions - Drill
>    Affects Versions: 1.11.0
>            Reporter: Charles Givre
>            Assignee: Charles Givre
>            Priority: Minor
>              Labels: doc-impacting
>             Fix For: 1.12.0
>
>
> On the heels of the PCAP plugin, this is a collection of functions that would facilitate network analysis using Drill. 
> The functions include:
> inet_aton(<ip>): Converts an IPv4 address into an integer.
> inet_ntoa( <int>): Converts an integer IP into dotted decimal notation
> in_network( <ip>,<cidr> ): Returns true if the IP address is in the given CIDR block
> address_count( <cidr> ): Returns the number of IPs in a given CIDR block
> broadcast_address( <cidr> ): Returns the broadcast address for a given CIDR block
> netmask(<cidr> ): Returns the netmask for a given CIDR block.
> low_address(<cidr>): Returns the first address in a given CIDR block.
> high_address(<cidr>): Returns the last address in a given CIDR block.
> url_encode( <url> ): Returns a URL encoded string.
> url_decode( <url> ): Decodes a URL encoded string.
> is_valid_IP(<ip>): Returns true if the IP is a valid IP address
> is_private_ip(<ip>): Returns true if the IP is a private IPv4 address
> is_valid_IPv4(<ip>): Returns true if the IP is a valid IPv4 address
> is_valid_IPv6(<ip>): Returns true if the IP is a valid IPv6 address



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)