Return-Path: X-Original-To: apmail-hive-dev-archive@www.apache.org Delivered-To: apmail-hive-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 42D1889B5 for ; Wed, 24 Aug 2011 09:11:14 +0000 (UTC) Received: (qmail 81561 invoked by uid 500); 24 Aug 2011 09:11:13 -0000 Delivered-To: apmail-hive-dev-archive@hive.apache.org Received: (qmail 79320 invoked by uid 500); 24 Aug 2011 09:10:59 -0000 Mailing-List: contact dev-help@hive.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@hive.apache.org Delivered-To: mailing list dev@hive.apache.org Received: (qmail 79294 invoked by uid 500); 24 Aug 2011 09:10:54 -0000 Delivered-To: apmail-hadoop-hive-dev@hadoop.apache.org Received: (qmail 79278 invoked by uid 99); 24 Aug 2011 09:10:53 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 24 Aug 2011 09:10:53 +0000 X-ASF-Spam-Status: No, hits=-2000.9 required=5.0 tests=ALL_TRUSTED,RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 24 Aug 2011 09:10:50 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 3993DCD467 for ; Wed, 24 Aug 2011 09:10:29 +0000 (UTC) Date: Wed, 24 Aug 2011 09:10:29 +0000 (UTC) From: "Amareshwari Sriramadasu (JIRA)" To: hive-dev@hadoop.apache.org Message-ID: <1864238547.8765.1314177029232.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <1461148779.3714.1311599109751.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Updated] (HIVE-2303) files with control-A,B are not delimited correctly. 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/HIVE-2303?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Amareshwari Sriramadasu updated HIVE-2303: ------------------------------------------ Attachment: patch-2303-3.txt Patch rebased to trunk. > files with control-A,B are not delimited correctly. > --------------------------------------------------- > > Key: HIVE-2303 > URL: https://issues.apache.org/jira/browse/HIVE-2303 > Project: Hive > Issue Type: Bug > Reporter: Amareshwari Sriramadasu > Assignee: Amareshwari Sriramadasu > Fix For: 0.8.0 > > Attachments: patch-2303-2.txt, patch-2303-3.txt, patch-2303.txt > > > The following is from one of our users: > > create external table impressions (imp string, msg string) > row format delimited > fields terminated by '\t' > lines terminated by '\n' > stored as textfile > location '/xxx'; > > Some strings in my data contains Control-A, Control-B etc as internal delimiters. If I do a > > Select * from impressions limit 10; > > All fields were able to print correctly. However if I do a > > Select * from impressions where msg regexp '.*' limit 10; > > The fields were broken by the control characters. The difference between the 2 commands is that the latter requires a map-reduce job. > -- This message is automatically generated by JIRA. For more information on JIRA, see: http://www.atlassian.com/software/jira