You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tajo.apache.org by "Hudson (JIRA)" <ji...@apache.org> on 2013/12/22 06:38:51 UTC

[jira] [Commented] (TAJO-382) Implement encode/decode functions

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

Hudson commented on TAJO-382:
-----------------------------

FAILURE: Integrated in Tajo-trunk-postcommit #632 (See [https://builds.apache.org/job/Tajo-trunk-postcommit/632/])
TAJO-382: Implement encode/decode functions. (Seungun Choe via jihoon) (jihoonson: https://git-wip-us.apache.org/repos/asf?p=incubator-tajo.git&a=commit&h=bd2b891994c8e3c52d956ffb3879b1ec60d70eec)
* tajo-core/tajo-core-backend/src/main/java/org/apache/tajo/master/TajoMaster.java
* CHANGES.txt
* tajo-core/tajo-core-backend/src/test/java/org/apache/tajo/engine/function/TestStringOperatorsAndFunctions.java
* tajo-core/tajo-core-backend/src/main/java/org/apache/tajo/engine/function/string/Decode.java
* tajo-core/tajo-core-backend/src/main/java/org/apache/tajo/engine/function/string/Encode.java
* tajo-core/tajo-core-backend/src/main/java/org/apache/tajo/engine/function/string/HexStringConverter.java


> Implement encode/decode functions
> ---------------------------------
>
>                 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, TAJO-382_3.patch, TAJO-382_4.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.5#6160)