hive-dev 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-9396) date_add()/date_sub() should allow tinyint/smallint/bigint arguments in addition to int
Date Tue, 20 Jan 2015 19:14:35 GMT

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

Hive QA commented on HIVE-9396:
-------------------------------



{color:red}Overall{color}: -1 at least one tests failed

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

{color:red}ERROR:{color} -1 due to 2 failed/errored test(s), 7336 tests executed
*Failed tests:*
{noformat}
org.apache.hadoop.hive.cli.TestCliDriver.testCliDriver_groupby_grouping_window
org.apache.hadoop.hive.ql.TestMTQueries.testMTQueries1
{noformat}

Test results: http://ec2-174-129-184-35.compute-1.amazonaws.com/jenkins/job/PreCommit-HIVE-TRUNK-Build/2441/testReport
Console output: http://ec2-174-129-184-35.compute-1.amazonaws.com/jenkins/job/PreCommit-HIVE-TRUNK-Build/2441/console
Test logs: http://ec2-174-129-184-35.compute-1.amazonaws.com/logs/PreCommit-HIVE-TRUNK-Build-2441/

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

This message is automatically generated.

ATTACHMENT ID: 12693323 - PreCommit-HIVE-TRUNK-Build

> date_add()/date_sub() should allow tinyint/smallint/bigint arguments in addition to int
> ---------------------------------------------------------------------------------------
>
>                 Key: HIVE-9396
>                 URL: https://issues.apache.org/jira/browse/HIVE-9396
>             Project: Hive
>          Issue Type: Bug
>          Components: UDF
>            Reporter: Jason Dere
>            Assignee: Sergio Peña
>         Attachments: HIVE-9396.3.patch, HIVE-9396.4.patch
>
>
> {noformat}
> hive> select c1, date_add('1985-01-01', c1) from short1;
> FAILED: SemanticException [Error 10014]: Line 1:11 Wrong arguments 'c1':  DATE_ADD()
only takes INT types as second  argument, got SHORT
> {noformat}
> We should allow date_add()/date_sub() to take any integral type for the 2nd argument,
rather than just int.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message