Direkt zum Inhalt

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

gefragt vor 3 Jahren448 Aufrufe
1 Antwort
1
Akzeptierte Antwort

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-TECHNIKER
beantwortet vor 3 Jahren

Du bist nicht angemeldet. Anmelden um eine Antwort zu veröffentlichen.

Eine gute Antwort beantwortet die Frage klar, gibt konstruktives Feedback und fördert die berufliche Weiterentwicklung des Fragenstellers.