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

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

I missed one more thing. This
function internally evaluates real values (i.e., float4 and float8) and integer 
types.

Tajo follow a strong typed system. Through out the system, we assume that 
parameters are passed to a function with specified typed values defined in the 
function.

Instead, we have a plan to implement auto casting mechanism for user 
convenience.

So, I would like to suggest that this function evaluates only int8 type values.

> 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.2.patch, 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)

Reply via email to