Saltar al contenido

AWS Timestream convert HEX string

0

Hi,

Is there a way to convert a hex string to an INT in AWS timestream? I cant find any functions that are supported to do this.

Thanks!

Mike

preguntada hace 3 años448 visualizaciones
1 Respuesta
1
Respuesta aceptada

Hi Mike, there are conversion functions available depending on your hex size:

select from_big_endian_64(from_hex('00000000DEEDDEED')) or select from_big_endian_32(from_hex(‘DEEDDEED’))

AWS
INGENIERO DE SOPORTE
respondido hace 3 años

No has iniciado sesión. Iniciar sesión para publicar una respuesta.

Una buena respuesta responde claramente a la pregunta, proporciona comentarios constructivos y fomenta el crecimiento profesional en la persona que hace la pregunta.