hive-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hive QA (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HIVE-19370) Issue: ADD Months function on timestamp datatype fields in hive
Date Thu, 17 May 2018 19:49:00 GMT

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

Hive QA commented on HIVE-19370:
--------------------------------



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

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

{color:red}ERROR:{color} -1 due to 10 failed/errored test(s), 14336 tests executed
*Failed tests:*
{noformat}
TestBeeLineExceptionHandling - did not produce a TEST-*.xml file (likely timed out) (batchId=191)
TestBeeLineHistory - did not produce a TEST-*.xml file (likely timed out) (batchId=191)
TestBeelineArgParsing - did not produce a TEST-*.xml file (likely timed out) (batchId=191)
TestClientCommandHookFactory - did not produce a TEST-*.xml file (likely timed out) (batchId=191)
TestHiveCli - did not produce a TEST-*.xml file (likely timed out) (batchId=191)
TestHiveSchemaTool - did not produce a TEST-*.xml file (likely timed out) (batchId=191)
TestIncrementalRows - did not produce a TEST-*.xml file (likely timed out) (batchId=191)
TestShutdownHook - did not produce a TEST-*.xml file (likely timed out) (batchId=191)
TestTableOutputFormat - did not produce a TEST-*.xml file (likely timed out) (batchId=191)
org.apache.hadoop.hive.cli.TestCliDriver.testCliDriver[localtimezone] (batchId=55)
{noformat}

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

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: 10 tests failed
{noformat}

This message is automatically generated.

ATTACHMENT ID: 12923930 - PreCommit-HIVE-Build

> Issue: ADD Months function on timestamp datatype fields in hive
> ---------------------------------------------------------------
>
>                 Key: HIVE-19370
>                 URL: https://issues.apache.org/jira/browse/HIVE-19370
>             Project: Hive
>          Issue Type: Bug
>            Reporter: Amit Chauhan
>            Assignee: Bharathkrishna Guruvayoor Murali
>            Priority: Major
>         Attachments: HIVE-19370.01.patch, HIVE-19370.02.patch, HIVE-19370.03.patch
>
>
> *Issue:*
> while using ADD_Months function on a timestamp datatype column the output omits the time
part[HH:MM:SS] part from output.
> which should not be the case.
> *query:* EMAIL_FAILURE_DTMZ is of datatype timestamp in hive.
> hive> select CUSTOMER_ID,EMAIL_FAILURE_DTMZ,ADD_MONTHS (EMAIL_FAILURE_DTMZ , 1) from TABLE1
where CUSTOMER_ID=125674937;
> OK
> 125674937   2015-12-09 12:25:53     2016-01-09
> *hiver version :*
> hive> !hive --version;
>  Hive 1.2.1000.2.5.6.0-40
>  
> can you please help if somehow I can get below as output:
>  
> 125674937   2015-12-09 12:25:53           2016-01-09 12:25:53



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Mime
View raw message