tajo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Keuntae Park (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (TAJO-495) Implement sha1(text)
Date Sun, 12 Jan 2014 23:55:50 GMT

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

Keuntae Park commented on TAJO-495:
-----------------------------------

It works fine as it passes 'mvn clean install' successfully.

However, how about implementing more generalized function 'digest' like PostgreSQL?

digest(text, type), where type can be one of md5, sha1, sha224, sha256, sha384 and sha512.
(http://www.postgresql.org/docs/9.3/static/pgcrypto.html)


> Implement sha1(text)
> --------------------
>
>                 Key: TAJO-495
>                 URL: https://issues.apache.org/jira/browse/TAJO-495
>             Project: Tajo
>          Issue Type: Sub-task
>          Components: function/udf
>            Reporter: DaeMyung Kang
>            Assignee: DaeMyung Kang
>            Priority: Minor
>             Fix For: 0.8-incubating
>
>         Attachments: TAJO-495.patch
>
>
> sha1('1')    ---> 356a192b7913b04c54574d18c28d46e6395428ab
> sha1('tajo') ---> 02b0e20540b89f0b735092bbac8093eb2e3804cf



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)

Mime
View raw message