Return-Path: Delivered-To: apmail-hadoop-hive-dev-archive@minotaur.apache.org Received: (qmail 2251 invoked from network); 23 Jul 2010 16:53:16 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 23 Jul 2010 16:53:16 -0000 Received: (qmail 84885 invoked by uid 500); 23 Jul 2010 16:53:15 -0000 Delivered-To: apmail-hadoop-hive-dev-archive@hadoop.apache.org Received: (qmail 84853 invoked by uid 500); 23 Jul 2010 16:53:15 -0000 Mailing-List: contact hive-dev-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: hive-dev@hadoop.apache.org Delivered-To: mailing list hive-dev@hadoop.apache.org Received: (qmail 84845 invoked by uid 99); 23 Jul 2010 16:53:15 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 23 Jul 2010 16:53:15 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.22] (HELO thor.apache.org) (140.211.11.22) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 23 Jul 2010 16:53:15 +0000 Received: from thor (localhost [127.0.0.1]) by thor.apache.org (8.13.8+Sun/8.13.8) with ESMTP id o6NGqtFh017475 for ; Fri, 23 Jul 2010 16:52:55 GMT Message-ID: <22124185.548341279903975352.JavaMail.jira@thor> Date: Fri, 23 Jul 2010 12:52:55 -0400 (EDT) From: "Carl Steinbach (JIRA)" To: hive-dev@hadoop.apache.org Subject: [jira] Updated: (HIVE-263) TCTLSeparatedProtocol should use UTF-8 to decode the data In-Reply-To: <185986358.1233364739625.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/HIVE-263?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Carl Steinbach updated HIVE-263: -------------------------------- Fix Version/s: 0.3.0 (was: 0.6.0) Component/s: Serializers/Deserializers > TCTLSeparatedProtocol should use UTF-8 to decode the data > --------------------------------------------------------- > > Key: HIVE-263 > URL: https://issues.apache.org/jira/browse/HIVE-263 > Project: Hadoop Hive > Issue Type: Bug > Components: Serializers/Deserializers > Reporter: Zheng Shao > Assignee: Zheng Shao > Fix For: 0.3.0 > > Attachments: HIVE-263.1.patch, HIVE-263.2.patch > > > TCTLSeparatedProtocol now uses the default character encoding. We should use UTF8 from hadoop Text class: > Now: > {code} > String row = new String(buf, 0, length); > {code} > We want: > {code} > String row; > try { > row = Text.decode(buf, 0, length); > } catch (CharacterCodingException e) { > throw new RuntimeException(e); > } > {code} -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.