[ https://issues.apache.org/jira/browse/HIVE-22241?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16938993#comment-16938993 ]
Jesus Camacho Rodriguez commented on HIVE-22241: ------------------------------------------------ [~szita], I have updated the patch after our conversation offline. I changed the names and descriptions (in the JIRA and UDF) to make clearer the intent of the new UDF. I also added new test cases. Can you take a look again? Thanks > Implement UDF to interpret date/timestamp using its internal representation > and Gregorian-Julian hybrid calendar > ---------------------------------------------------------------------------------------------------------------- > > Key: HIVE-22241 > URL: https://issues.apache.org/jira/browse/HIVE-22241 > Project: Hive > Issue Type: Improvement > Components: UDF > Reporter: Jesus Camacho Rodriguez > Assignee: Jesus Camacho Rodriguez > Priority: Major > Labels: pull-request-available > Attachments: HIVE-22241.01.patch, HIVE-22241.02.patch, > HIVE-22241.patch > > Time Spent: 10m > Remaining Estimate: 0h > > UDF that converts a date/timestamp to new *proleptic Gregorian calendar* (ISO > 8601 standard), which is produced by extending the Gregorian calendar > backward to dates preceding its official introduction in 1582, assuming that > its internal days/milliseconds since epoch is calculated using legacy > *Gregorian-Julian hybrid* calendar, i.e., calendar that supports both the > Julian and Gregorian calendar systems with the support of a single > discontinuity, which corresponds by default to the Gregorian date when the > Gregorian calendar was instituted. -- This message was sent by Atlassian Jira (v8.3.4#803005)