[ 
https://issues.apache.org/jira/browse/HIVE-22099?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16905122#comment-16905122
 ] 

Hive QA commented on HIVE-22099:
--------------------------------



Here are the results of testing the latest attachment:
https://issues.apache.org/jira/secure/attachment/12977324/HIVE-22099.0.patch

{color:green}SUCCESS:{color} +1 due to 1 test(s) being added or modified.

{color:red}ERROR:{color} -1 due to 1 failed/errored test(s), 16734 tests 
executed
*Failed tests:*
{noformat}
org.apache.hadoop.hive.cli.TestCliDriver.testCliDriver[udf_date_format] 
(batchId=64)
{noformat}

Test results: 
https://builds.apache.org/job/PreCommit-HIVE-Build/18311/testReport
Console output: https://builds.apache.org/job/PreCommit-HIVE-Build/18311/console
Test logs: http://104.198.109.242/logs/PreCommit-HIVE-Build-18311/

Messages:
{noformat}
Executing org.apache.hive.ptest.execution.TestCheckPhase
Executing org.apache.hive.ptest.execution.PrepPhase
Executing org.apache.hive.ptest.execution.YetusPhase
Executing org.apache.hive.ptest.execution.ExecutionPhase
Executing org.apache.hive.ptest.execution.ReportingPhase
Tests exited with: TestsFailedException: 1 tests failed
{noformat}

This message is automatically generated.

ATTACHMENT ID: 12977324 - PreCommit-HIVE-Build

> GenericUDFDateFormat can't handle Julian dates properly
> -------------------------------------------------------
>
>                 Key: HIVE-22099
>                 URL: https://issues.apache.org/jira/browse/HIVE-22099
>             Project: Hive
>          Issue Type: Bug
>            Reporter: Adam Szita
>            Assignee: Adam Szita
>            Priority: Major
>              Labels: backward-incompatible
>         Attachments: HIVE-22099.0.patch
>
>
> Currently dates that belong to Julian calendar (before Oct 15, 1582) are 
> handled improperly by DateFormat UDF:
> Although the dates are in Julian calendar, the formatter insists to print 
> these according to Gregorian calendar causing multiple days of difference in 
> some cases:
>  
> {code:java}
> beeline> select date_format('1001-01-05','dd---MM--yyyy');
> +----------------+
> | _c0 |
> +----------------+
> | 30---12--1000 |
> +----------------+{code}
>  
>  



--
This message was sent by Atlassian JIRA
(v7.6.14#76016)

Reply via email to