MaxCompute SQL provides network-related functions that support processing STRING and BINARY network data. These functions enable capabilities such as IP address format conversion, URL parsing, and network mask retrieval. This topic describes the network functions and their features.
|
Function |
Description |
|
Parses the hostname from a URL string of the STRING type. |
|
|
Converts an IPv4 or IPv6 address from the STRING format to the BINARY format. Note
If the input parameter is invalid or illegal, an error is returned. |
|
|
Generates the corresponding IPv4 or IPv6 network mask address based on a specified network mask length. |
|
|
Converts an IPv4 address from the BINARY format to the BIGINT format. |
|
|
Converts an IPv4 or IPv6 address from the BINARY format to the STRING format. |
|
|
Parses the public suffix (such as com, org, or net) from a URL string of the STRING type. |
|
|
Parses the registered or registrable domain name (i.e., the public suffix plus the preceding label) from a URL string of the STRING type. |
|
|
Converts an IPv4 or IPv6 address from the STRING format to the BINARY format. Note
Similar to theNET_IP_FROM_STRINGfunction, but returns NULL instead of raising an error if the input parameter is considered invalid. |
|
|
Verifies whether a specific port of a target domain name or IP address is reachable. |