You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tajo.apache.org by "Jihoon Son (JIRA)" <ji...@apache.org> on 2013/12/21 16:44:09 UTC
[jira] [Resolved] (TAJO-382) Implement encode/decode functions
[ https://issues.apache.org/jira/browse/TAJO-382?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jihoon Son resolved TAJO-382.
-----------------------------
Resolution: Fixed
I've just committed.
Before the commit, I changed some codes for the consistent import style and to follow the char limit per line.
The attached patch contains these changes.
I also changed the issue title to merge TAJO-380 into this issue.
Thanks for your contribution!
> 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.4#6159)