Closed morazow closed 2 years ago
Currently, when importing timestamp values using java.sql.Timestamp, they are converted to the timezone of the database nodes (DBTIMEZONE setting). This leads to the wrong expectations, since Timestamp is always UTC.
java.sql.Timestamp
DBTIMEZONE
Until this this feature is introduced https://github.com/exasol/script-languages-release/issues/539, set the UDF application timezone to UTC using:
TimeZone.setDefault(TimeZone.getTimeZone("UTC"))
Check that EXPORT is also fixed and behaves similarly.
As discussed with @allipatev, we should enable this with user parameter first so that users are not faced with sudden behavior change.
Situation
Currently, when importing timestamp values using
java.sql.Timestamp
, they are converted to the timezone of the database nodes (DBTIMEZONE
setting). This leads to the wrong expectations, since Timestamp is always UTC.Until this this feature is introduced https://github.com/exasol/script-languages-release/issues/539, set the UDF application timezone to UTC using:
Acceptance Criteria