tajo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Seungun Choe (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (TAJO-382) Implement encode function
Date Tue, 17 Dec 2013 07:54:07 GMT

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

Seungun Choe commented on TAJO-382:
-----------------------------------

Thanks your comment. Keuntae Park. :)
But, in my checking result,
{code}
super(new Column[] {
        new Column("text", TajoDataTypes.Type.TEXT),
        new Column("format", TajoDataTypes.Type.TEXT)
}); 
{code}
{code}
Datum datum = params.get(0);
Datum formatType = params.get(1);
{code}

datum has already wrong input parameter.
So, in my opinion, jline(tsql command line)'s problem or String Class problem.
Check my comments. :)


> Implement encode function
> -------------------------
>
>                 Key: TAJO-382
>                 URL: https://issues.apache.org/jira/browse/TAJO-382
>             Project: Tajo
>          Issue Type: New Feature
>            Reporter: Seungun Choe
>            Assignee: Seungun Choe
>            Priority: Minor
>         Attachments: TAJO-382.patch, TAJO-382_2.patch
>
>
> Function : encode(data bytea, format text)
> Description : Encode binary data into a textual representation. Supported formats are:
base64, hex, escape. escape converts zero bytes and high-bit-set bytes to octal sequences
(\nnn) and doubles backslashes.
> Example : encode(E'123\\000\\001', 'base64')  -->  MTIzAAE=



--
This message was sent by Atlassian JIRA
(v6.1.4#6159)

Mime
View raw message