kafka-connect-bigquery icon indicating copy to clipboard operation
kafka-connect-bigquery copied to clipboard

MicroTimestampConverter drops leading zero when calculating the microRemainder

Open rpbaltazar opened this issue 4 years ago • 0 comments

when using MicroTimestampConverter our timestamps get wrongly converted because the converter is dropping the leading zero when calculating the remainder.

E.g.

MICRO_TIMESTAMP = 1488406838008123L This should match March 1 2017, 22:20:38.008(123)

But when using the converter we get March 1 2017, 22:20:38.8123

rpbaltazar avatar Jul 02 '20 09:07 rpbaltazar