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

asked a year ago270 views
1 Answer
1
Accepted Answer

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
SUPPORT ENGINEER
AnushaG
answered a year ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions