Return-Path: X-Original-To: apmail-pig-dev-archive@www.apache.org Delivered-To: apmail-pig-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 450B59349 for ; Mon, 4 Mar 2013 06:19:20 +0000 (UTC) Received: (qmail 15345 invoked by uid 500); 4 Mar 2013 06:19:19 -0000 Delivered-To: apmail-pig-dev-archive@pig.apache.org Received: (qmail 14909 invoked by uid 500); 4 Mar 2013 06:19:18 -0000 Mailing-List: contact dev-help@pig.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@pig.apache.org Delivered-To: mailing list dev@pig.apache.org Received: (qmail 14453 invoked by uid 500); 4 Mar 2013 06:19:17 -0000 Delivered-To: apmail-hadoop-pig-dev@hadoop.apache.org Received: (qmail 14437 invoked by uid 99); 4 Mar 2013 06:19:17 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 04 Mar 2013 06:19:17 +0000 Date: Mon, 4 Mar 2013 06:19:17 +0000 (UTC) From: "Timothy Chen (JIRA)" To: pig-dev@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (PIG-2507) Semicolon in paramenters for UDF results in parsing error 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/PIG-2507?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Timothy Chen updated PIG-2507: ------------------------------ Patch Info: Patch Available > Semicolon in paramenters for UDF results in parsing error > --------------------------------------------------------- > > Key: PIG-2507 > URL: https://issues.apache.org/jira/browse/PIG-2507 > Project: Pig > Issue Type: Bug > Affects Versions: 0.8.0, 0.9.1, 0.10.0 > Reporter: Vivek Padmanabhan > Assignee: Timothy Chen > Attachments: PIG_2507.patch > > > If I have a semicolon in the parameter passed to a udf, the script execution will fail with a parsing error. > a = load 'i1' as (f1:chararray); > c = foreach a generate REGEX_EXTRACT(f1, '.;' ,1); > dump c; > The above script fails with the below error > [main] ERROR org.apache.pig.tools.grunt.Grunt - ERROR 1200: mismatched character '' expecting ''' > Even replacing the semicolon with Unicode \u003B results in the same error. > c = foreach a generate REGEX_EXTRACT(f1, '.\u003B',1); -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira