Details
Description
Using Apache Hive 3.1 server ////
Run the following SQL and you will get 3 instead of 1
SELECT
(day( DATE '0001-01-01'))
FROM
`table`
PLEASE NOTE THIS DOES NOT HAPPEN WITH Apache HIVE 2.1 SERVER
Using Apache Hive 3.1 server ////
Run the following SQL and you will get 3 instead of 1
SELECT
(day( DATE '0001-01-01'))
FROM
`table`
PLEASE NOTE THIS DOES NOT HAPPEN WITH Apache HIVE 2.1 SERVER