Transform a bigint to a duration in Timestream

0

When I have a bigint value which is actually a duration in milliseconds, is there a better way than this to transform it?

parse_duration(cast(my_value as varchar) || 'ms')
mahe
gefragt vor 2 Jahren259 Aufrufe
1 Antwort
1

This the correct way to transform a bigint value to duration in Timestream.

AWS
beantwortet vor 2 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.

Richtlinien für die Beantwortung von Fragen