Pedro Silva
05/10/2021, 2:53 PMNeha Pawar
Pedro Silva
05/10/2021, 3:08 PMresult
I'm trying to retrieve a field from the result
payload, called duration
and parse it into a Long field in the Pinot Table to represent the duration in milliseconds.
The value of the duration
property in the result
field can have multiple forms: HH:MM:SS.SSSS / HH:MM:SS / HH:MM:SS.SSSSSSS
or simply not exist.
To complicate matters, the key of duration
is not consistent, when it appears, in some messages it may come as Duration
and others as duration
This is legacy and not something I can fix upstream unfortunately.Kishore G