INET_ATON (Lakehouse v1)
Convertit une adresse IPv4 en entier de 32 bits.
Syntaxe Analyze
Section intitulée « Syntaxe Analyze »func.inet_aton(<ip>)Exemples Analyze
Section intitulée « Exemples Analyze »func.inet_aton('1.2.3.4')
┌───────────────────────────────┐│ func.inet_aton('1.2.3.4') │├───────────────────────────────┤│ 16909060 │└───────────────────────────────┘Syntaxe SQL
Section intitulée « Syntaxe SQL »INET_ATON(<ip>)Type de retour
Section intitulée « Type de retour »Entier.
Exemples SQL
Section intitulée « Exemples SQL »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 │└──────────────────────────────────────────────────────┘