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-10644) create SHA2 UDF
Date Wed, 13 May 2015 18:06:59 GMT

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

Hive QA commented on HIVE-10644:
--------------------------------



{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/12732488/HIVE-10644.2.patch

{color:red}ERROR:{color} -1 due to 2 failed/errored test(s), 8934 tests executed
*Failed tests:*
{noformat}
org.apache.hadoop.hive.cli.TestCliDriver.testCliDriver_udaf_percentile_approx_23
org.apache.hadoop.hive.cli.TestEncryptedHDFSCliDriver.testCliDriver_encryption_insert_partition_static
{noformat}

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

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: 12732488 - PreCommit-HIVE-TRUNK-Build

> create SHA2 UDF
> ---------------
>
>                 Key: HIVE-10644
>                 URL: https://issues.apache.org/jira/browse/HIVE-10644
>             Project: Hive
>          Issue Type: Improvement
>          Components: UDF
>            Reporter: Alexander Pivovarov
>            Assignee: Alexander Pivovarov
>         Attachments: HIVE-10644.1.patch, HIVE-10644.2.patch
>
>
> Calculates the SHA-2 family of hash functions (SHA-224, SHA-256, SHA-384, and SHA-512).
The first argument is the cleartext string to be hashed. The second argument indicates the
desired bit length of the result, which must have a value of 224, 256, 384, 512, or 0 (which
is equivalent to 256). If either argument is NULL or the hash length is not one of the permitted
values, the return value is NULL.
> MySQL also has SHA2 function https://dev.mysql.com/doc/refman/5.5/en/encryption-functions.html#function_sha2



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

Mime
View raw message