tajo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jihoon Son (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (TAJO-382) Implement encode function
Date Thu, 19 Dec 2013 05:09:09 GMT

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

Jihoon Son commented on TAJO-382:
---------------------------------

Sorry for confusing you. 
The following is an example code that violates our coding convention.
{code}
public class HexStringConverter
{
  ...
}
{code}
In our coding convention, the left brace is placed after the class name as follows.
{code}
public class HexStringConverter {
  ...
}
{code}

This is a trivial problem. 
So, if you attach another patch after improving the exception handling, 
I'll change the patch to follow the coding convention.
Thanks!

> 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