TRY_INET_NTOA (Lakehouse v1)
Recebe um endereço IPv4 em ordem de bytes de rede e retorna o endereço como uma string em notação decimal com pontos.
Sintaxe no Analyze
Seção intitulada “Sintaxe no Analyze”func.try_inet_ntoa(<integer>)Exemplos no Analyze
Seção intitulada “Exemplos no Analyze”func.try_inet_ntoaA(167773449)
┌───────────────────────────────┐│ func.try_inet_ntoa(167773449) │├───────────────────────────────┤│ 10.0.5.9 │└───────────────────────────────┘Sintaxe SQL
Seção intitulada “Sintaxe SQL”TRY_INET_NTOA( <integer> )Aliases
Seção intitulada “Aliases”Tipo de retorno
Seção intitulada “Tipo de retorno”String.
Exemplos de SQL
Seção intitulada “Exemplos de SQL”SELECT TRY_INET_NTOA(167773449), TRY_IPV4_NUM_TO_STRING(167773449);
┌──────────────────────────────────────────────────────────────┐│ try_inet_ntoa(167773449) │ try_ipv4_num_to_string(167773449) │├──────────────────────────┼───────────────────────────────────┤│ 10.0.5.9 │ 10.0.5.9 │└──────────────────────────────────────────────────────────────┘