I have two Hive tables, one holds a date value with Timestamp datatype. If I query on one specific record using the key it shows the date value correctly. select acct_key, account_open_date from Table_1 where acct_key=1234;
acct_id account_open_date
1234 1963-03-01 00:00:00
However when joining this table with another table, the returned timestamp value changed to some value in year 2031 select a.acct_key, b.account_open_date from Table_2 a left outer join on Table_1 b on a.acct_key=b.acct_key;
acct_id account_open_date
1234 2031-03-19 00:00:00
Seems this issues only occurs for date value before Unix epoch time(1970). Any suggestion? Thanks