[ https://issues.apache.org/jira/browse/HIVE-5329?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jason Dere updated HIVE-5329: ----------------------------- Attachment: HIVE-5329.2.patch Attaching patch v2. - Changes per Ashutosh's comments. I actually ended up adding VOID_GROUP as part of PrimitiveGrouping, rather than relying on UNKNOWN_GROUP. - partition_date.q had a test failure with patch v1. Looking at the cause, this test case apparently never worked properly - casting a date partition column to timestamp. I've removed that cast from the test. > Date and timestamp type converts invalid strings to '1970-01-01' > ---------------------------------------------------------------- > > Key: HIVE-5329 > URL: https://issues.apache.org/jira/browse/HIVE-5329 > Project: Hive > Issue Type: Bug > Components: Types > Affects Versions: 0.12.0 > Reporter: Vikram Dixit K > Assignee: Jason Dere > Priority: Blocker > Attachments: HIVE-5329.1.patch, HIVE-5329.2.patch > > > {noformat} > select > cast('abcd' as date), > cast('abcd' as timestamp) > from src limit 1; > {noformat} > returns '1970-01-01' -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira