tajo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hyunsik Choi (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (TAJO-346) Implement hex function
Date Sun, 01 Dec 2013 04:05:36 GMT

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

Hyunsik Choi commented on TAJO-346:
-----------------------------------

The patch looks good for me. For non-standard parts, Tajo mostly follows PostgreSQL. In PostgreSQL,
to_hex() is equivalence of hex in MySQL. You can find the function details at http://www.postgresql.org/docs/9.1/static/functions-string.html.


For consistency, could you please rename hex() to to_hex()?

Thanks!

> Implement hex function
> ----------------------
>
>                 Key: TAJO-346
>                 URL: https://issues.apache.org/jira/browse/TAJO-346
>             Project: Tajo
>          Issue Type: Sub-task
>          Components: operator/function/udf
>            Reporter: DaeMyung Kang
>            Assignee: DaeMyung Kang
>            Priority: Minor
>              Labels: newbie
>             Fix For: 0.8-incubating
>
>         Attachments: TAJO-346.patch
>
>
> hex("012") ---> 303132
> hex(10) ---> a
> hex(1.2) ---> 1
> hex(1.5) ---> 2



--
This message was sent by Atlassian JIRA
(v6.1#6144)

Mime
View raw message