You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
DateTimeAdapter uses millisecondsSinceEpoch instead of microsecondsSinceEpoch. So if you try to save to hive e.g. 2021-01-08 15:43:46.900361, it actually saves 2021-01-08 15:43:46.900. One problem this is causing is that you cannot use DateTime.isAtSameMomentAs to compare a date saved to hive to the original date (it could be e.g. File.lastModified).
Version
Hive version: 1.4.4+1
The text was updated successfully, but these errors were encountered:
DateTimeAdapter
usesmillisecondsSinceEpoch
instead ofmicrosecondsSinceEpoch
. So if you try to save to hive e.g. 2021-01-08 15:43:46.900361, it actually saves 2021-01-08 15:43:46.900. One problem this is causing is that you cannot useDateTime.isAtSameMomentAs
to compare a date saved to hive to the original date (it could be e.g.File.lastModified
).Version
The text was updated successfully, but these errors were encountered: