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 95CE7E9FF for ; Tue, 5 Feb 2013 23:13:16 +0000 (UTC) Received: (qmail 31214 invoked by uid 500); 5 Feb 2013 23:13:14 -0000 Delivered-To: apmail-pig-dev-archive@pig.apache.org Received: (qmail 31158 invoked by uid 500); 5 Feb 2013 23:13:14 -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 31048 invoked by uid 500); 5 Feb 2013 23:13:14 -0000 Delivered-To: apmail-hadoop-pig-dev@hadoop.apache.org Received: (qmail 31032 invoked by uid 99); 5 Feb 2013 23:13:14 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 05 Feb 2013 23:13:14 +0000 Date: Tue, 5 Feb 2013 23:13:14 +0000 (UTC) From: "Cheolsoo Park (JIRA)" To: pig-dev@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Created] (PIG-3162) PigTest.assertOutput doesn't allow non-default delimiter MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 Cheolsoo Park created PIG-3162: ---------------------------------- Summary: PigTest.assertOutput doesn't allow non-default delimiter Key: PIG-3162 URL: https://issues.apache.org/jira/browse/PIG-3162 Project: Pig Issue Type: Bug Components: tools Affects Versions: 0.11 Reporter: Cheolsoo Park Priority: Minor {{PigTest.assertInput(String aliasInput, String[] input, String alias, String[] expected)}} assumes that the default delimiter is used (i.e. tab char) in input data. {code:title=TestPig.java} override(aliasInput, String.format( "%s = LOAD '%s' AS %s;", aliasInput, destination, sb.toString())); {code} But it will be useful to be able to use a non-default delimiter. For example, here is an email from the user mailing list: http://search-hadoop.com/m/Pxcfq1TrnIb/PigUnit+test+for+script+with+non-default+PigStorage+delimiter&subj=PigUnit+test+for+script+with+non+default+PigStorage+delimiter -- 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