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

Jason Dere commented on HIVE-10639:
-----------------------------------

I think this looks good - can you use Text.getBytes() rather than toString() 
like you did with HIVE-10657, assuming this doesn't change the test results?

> create SHA1 UDF
> ---------------
>
>                 Key: HIVE-10639
>                 URL: https://issues.apache.org/jira/browse/HIVE-10639
>             Project: Hive
>          Issue Type: Improvement
>          Components: UDF
>            Reporter: Alexander Pivovarov
>            Assignee: Alexander Pivovarov
>         Attachments: HIVE-10639.1.patch, HIVE-10639.2.patch
>
>
> Calculates an SHA-1 160-bit checksum for the string and binary, as described 
> in RFC 3174 (Secure Hash Algorithm). The value is returned as a string of 40 
> hex digits, or NULL if the argument was NULL.



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

Reply via email to