This is an automated email from the ASF dual-hosted git repository. dzamo pushed a commit to branch gh-pages in repository https://gitbox.apache.org/repos/asf/drill.git
commit 6bfb161adf0d60914621de96ef6d1518c0fcd639 Author: James Turton <[email protected]> AuthorDate: Mon May 10 08:17:09 2021 +0200 Remove reserved angle brackets from ip-net-functions. --- .../sql-functions/100-ip-net-functions.md | 32 +++++++++++----------- 1 file changed, 16 insertions(+), 16 deletions(-) diff --git a/_docs/sql-reference/sql-functions/100-ip-net-functions.md b/_docs/sql-reference/sql-functions/100-ip-net-functions.md index 019e10a..ed0df3f 100644 --- a/_docs/sql-reference/sql-functions/100-ip-net-functions.md +++ b/_docs/sql-reference/sql-functions/100-ip-net-functions.md @@ -8,19 +8,19 @@ parent: "SQL Functions" A set of functions for common computations on IP network addresses. -| Function | Output | Description | -| --------------------------- | ------- | --------------------------------------------------------- | -| inet_aton(<ip>) | INT | Converts an IPv4 address into an integer | -| inet_ntoa( <int>) | VARCHAR | Converts an integer IP into dotted decimal notation | -| in_network( <ip>,<cidr> ) | BOOLEAN | Returns true if the IP address is in the given CIDR block | -| address_count( <cidr> ) | INT | Returns the number of IPs in a given CIDR block | -| broadcast_address( <cidr> ) | VARCHAR | Returns the broadcast address for a given CIDR block | -| netmask(<cidr> ) | VARCHAR | Returns the netmask for a given CIDR block | -| low_address(<cidr>) | VARCHAR | Returns the first address in a given CIDR block | -| high_address(<cidr>) | VARCHAR | Returns the last address in a given CIDR block | -| url_encode( <url> ) | VARCHAR | Returns a URL encoded string | -| url_decode( <url> ) | VARCHAR | Decodes a URL encoded string | -| is_valid_IP(<ip>) | BOOLEAN | Returns true if the IP is a valid IP address | -| is_private_ip(<ip>) | BOOLEAN | Returns true if the IP is a private IPv4 address | -| is_valid_IPv4(<ip>) | BOOLEAN | Returns true if the IP is a valid IPv4 address | -| is_valid_IPv6(<ip>) | BOOLEAN | Returns true if the IP is a valid IPv6 address | +| Function | Output | Description | +| ------------------------- | ------- | --------------------------------------------------------- | +| inet_aton( ip ) | INT | Converts an IPv4 address into an integer | +| inet_ntoa( int ) | VARCHAR | Converts an integer IP into dotted decimal notation | +| in_network( ip, cidr ) | BOOLEAN | Returns true if the IP address is in the given CIDR block | +| address_count( cidr ) | INT | Returns the number of IPs in a given CIDR block | +| broadcast_address( cidr ) | VARCHAR | Returns the broadcast address for a given CIDR block | +| netmask( cidr ) | VARCHAR | Returns the netmask for a given CIDR block | +| low_address( cidr ) | VARCHAR | Returns the first address in a given CIDR block | +| high_address( cidr ) | VARCHAR | Returns the last address in a given CIDR block | +| url_encode( url ) | VARCHAR | Returns a URL encoded string | +| url_decode( url ) | VARCHAR | Decodes a URL encoded string | +| is_valid_IP( ip ) | BOOLEAN | Returns true if the IP is a valid IP address | +| is_private_ip( ip ) | BOOLEAN | Returns true if the IP is a private IPv4 address | +| is_valid_IPv4( ip ) | BOOLEAN | Returns true if the IP is a valid IPv4 address | +| is_valid_IPv6( ip ) | BOOLEAN | Returns true if the IP is a valid IPv6 address |
