1. Anuncie Aqui ! Entre em contato fdantas@4each.com.br

[SQL] casting column datatype into numeric using SQL AWS Athena

Discussão em 'Outras Linguagens' iniciado por Stack, Outubro 26, 2024 às 07:02.

  1. Stack

    Stack Membro Participativo

    I am trying to cast the amount column as numeric as per the following SQL query using Athena AWS.

    round(cast(amount as numeric),3)


    But the numeric data type is not recognized and it pops out the following error


    SYNTAX_ERROR: line 19:54: Unknown type: numeric unable to rollback

    Continue reading...

Compartilhe esta Página