This may or may not be intended functionality, but the implementation of the TIMESTAMP_MILLIS and TIMESTAMP_MICROS use the Date.getTime() method which offsets for the system timezone. This leads to the library offsetting timestamps by the UTC offset of the system. This seems like unexpected behaviour.
This can be worked around using the TZ=UTC environment variable.
This may or may not be intended functionality, but the implementation of the TIMESTAMP_MILLIS and TIMESTAMP_MICROS use the
Date.getTime()
method which offsets for the system timezone. This leads to the library offsetting timestamps by the UTC offset of the system. This seems like unexpected behaviour.This can be worked around using the
TZ=UTC
environment variable.