Return-Path: X-Original-To: apmail-tajo-dev-archive@minotaur.apache.org Delivered-To: apmail-tajo-dev-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id D488210354 for ; Sun, 22 Dec 2013 05:39:25 +0000 (UTC) Received: (qmail 50165 invoked by uid 500); 22 Dec 2013 05:39:19 -0000 Delivered-To: apmail-tajo-dev-archive@tajo.apache.org Received: (qmail 50111 invoked by uid 500); 22 Dec 2013 05:39:17 -0000 Mailing-List: contact dev-help@tajo.incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@tajo.incubator.apache.org Delivered-To: mailing list dev@tajo.incubator.apache.org Received: (qmail 50084 invoked by uid 99); 22 Dec 2013 05:39:13 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 22 Dec 2013 05:39:13 +0000 X-ASF-Spam-Status: No, hits=-2000.5 required=5.0 tests=ALL_TRUSTED,RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.3] (HELO mail.apache.org) (140.211.11.3) by apache.org (qpsmtpd/0.29) with SMTP; Sun, 22 Dec 2013 05:39:12 +0000 Received: (qmail 50044 invoked by uid 99); 22 Dec 2013 05:38:51 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 22 Dec 2013 05:38:51 +0000 Date: Sun, 22 Dec 2013 05:38:51 +0000 (UTC) From: "Hudson (JIRA)" To: dev@tajo.incubator.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (TAJO-382) Implement encode/decode functions MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ 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)