You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@drill.apache.org by "Arina Ielchiieva (JIRA)" <ji...@apache.org> on 2017/11/05 18:20:00 UTC

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

     [ https://issues.apache.org/jira/browse/DRILL-5834?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Arina Ielchiieva updated DRILL-5834:
------------------------------------
    Labels: doc-impacting ready-to-commit  (was: doc-impacting)

> 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, ready-to-commit
>             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)