From hcatalog-commits-return-401-apmail-incubator-hcatalog-commits-archive=incubator.apache.org@incubator.apache.org Fri Jul 15 23:32:25 2011 Return-Path: X-Original-To: apmail-incubator-hcatalog-commits-archive@minotaur.apache.org Delivered-To: apmail-incubator-hcatalog-commits-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id E27E86BC7 for ; Fri, 15 Jul 2011 23:32:24 +0000 (UTC) Received: (qmail 18773 invoked by uid 500); 15 Jul 2011 23:32:24 -0000 Delivered-To: apmail-incubator-hcatalog-commits-archive@incubator.apache.org Received: (qmail 18730 invoked by uid 500); 15 Jul 2011 23:32:24 -0000 Mailing-List: contact hcatalog-commits-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: hcatalog-dev@incubator.apache.org Delivered-To: mailing list hcatalog-commits@incubator.apache.org Received: (qmail 18722 invoked by uid 99); 15 Jul 2011 23:32:24 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 15 Jul 2011 23:32:24 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED,T_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; Fri, 15 Jul 2011 23:32:21 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 7838882AA9 for ; Fri, 15 Jul 2011 23:32:00 +0000 (UTC) Date: Fri, 15 Jul 2011 23:32:00 +0000 (UTC) From: "Julien Le Dem (JIRA)" To: hcatalog-commits@incubator.apache.org Message-ID: <392960636.19204.1310772720488.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Created] (HCATALOG-61) HCatalogLoader should allow specifying a partition spec as a constructor argument 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 HCatalogLoader should allow specifying a partition spec as a constructor argument --------------------------------------------------------------------------------- Key: HCATALOG-61 URL: https://issues.apache.org/jira/browse/HCATALOG-61 Project: HCatalog Issue Type: Improvement Reporter: Julien Le Dem In some cases we want to pass the list of partitions to read as a parameter to the Pig Script. This enables incremental processing. Reading a few new partitions in the input and generating a new corresponding partition in the output. something similar to the partspec in the HCatStorer: {code} pig -p "INPUT_PARTITIONS=t=4,t=5,t=6" -p "OUTPUT_PARTITION=t=2" myscript.pig {code} myscript.pig {code} A = LOAD '...' USING HCatLoader('$INPUT_PARTITIONS'); ... STORE Z INTO '...' USING HCatStorer('$OUTPUT_PARTITION'); {code} The number of partitions could be variable from one run to the other. -- This message is automatically generated by JIRA. For more information on JIRA, see: http://www.atlassian.com/software/jira