INET_ATON (Lakehouse v1)
Converts an IPv4 address to a 32-bit integer.
Analyze Syntax
Section titled “Analyze Syntax”func.inet_aton(<ip>)Analyze Examples
Section titled “Analyze Examples”func.inet_aton('1.2.3.4')
┌───────────────────────────────┐│ func.inet_aton('1.2.3.4') │├───────────────────────────────┤│ 16909060 │└───────────────────────────────┘SQL Syntax
Section titled “SQL Syntax”INET_ATON(<ip>)Aliases
Section titled “Aliases”Return Type
Section titled “Return Type”Integer.
SQL Examples
Section titled “SQL Examples”SELECT IPV4_STRING_TO_NUM('1.2.3.4'), INET_ATON('1.2.3.4');
┌──────────────────────────────────────────────────────┐│ ipv4_string_to_num('1.2.3.4') │ inet_aton('1.2.3.4') │├───────────────────────────────┼──────────────────────┤│ 16909060 │ 16909060 │└──────────────────────────────────────────────────────┘