MaxCompute SQL provides network functions to process STRING and BINARY network data. Use these functions to convert IP address formats, parse URLs, and retrieve network masks.
|
Function |
Feature |
|
Parses the hostname from a STRING URL. |
|
|
Converts an IPv4 or IPv6 address from STRING to BINARY format. Note
Returns an error if the input is invalid. |
|
|
Generates an IPv4 or IPv6 network mask from a given mask length. |
|
|
Converts an IPv4 address from BINARY to BIGINT format. |
|
|
Converts an IPv4 or IPv6 address from BINARY to STRING format. |
|
|
Parses the public suffix (such as com, org, or net) from a STRING URL. |
|
|
Parses the registered domain from a STRING URL. A registered domain consists of the public suffix and the preceding label. |
|
|
Converts an IPv4 or IPv6 address from STRING to BINARY format. Note
Similar to NET_IP_FROM_STRING, but returns NULL instead of an error for invalid input. |
|
|
Tests connectivity to a specific port on a target domain or IP address. |