Return-Path: X-Original-To: apmail-falcon-dev-archive@minotaur.apache.org Delivered-To: apmail-falcon-dev-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 7084217D6C for ; Tue, 29 Sep 2015 14:49:23 +0000 (UTC) Received: (qmail 94147 invoked by uid 500); 29 Sep 2015 14:49:07 -0000 Delivered-To: apmail-falcon-dev-archive@falcon.apache.org Received: (qmail 94105 invoked by uid 500); 29 Sep 2015 14:49:07 -0000 Mailing-List: contact dev-help@falcon.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@falcon.apache.org Delivered-To: mailing list dev@falcon.apache.org Received: (qmail 94094 invoked by uid 99); 29 Sep 2015 14:49:07 -0000 Received: from Unknown (HELO spamd1-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 29 Sep 2015 14:49:07 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd1-us-west.apache.org (ASF Mail Server at spamd1-us-west.apache.org) with ESMTP id DCBDEC7189 for ; Tue, 29 Sep 2015 14:49:06 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd1-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 0.97 X-Spam-Level: X-Spam-Status: No, score=0.97 tagged_above=-999 required=6.31 tests=[KAM_LAZY_DOMAIN_SECURITY=1, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, T_RP_MATCHES_RCVD=-0.01] autolearn=disabled Received: from mx1-us-west.apache.org ([10.40.0.8]) by localhost (spamd1-us-west.apache.org [10.40.0.7]) (amavisd-new, port 10024) with ESMTP id xu9cXJzCVITT for ; Tue, 29 Sep 2015 14:49:05 +0000 (UTC) Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by mx1-us-west.apache.org (ASF Mail Server at mx1-us-west.apache.org) with SMTP id 747CD23060 for ; Tue, 29 Sep 2015 14:49:05 +0000 (UTC) Received: (qmail 93622 invoked by uid 99); 29 Sep 2015 14:49:05 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 29 Sep 2015 14:49:05 +0000 Date: Tue, 29 Sep 2015 14:49:05 +0000 (UTC) From: "Rishav Rohit (JIRA)" To: dev@falcon.incubator.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (FALCON-1498) Add more parameters for HCatalogue input feed 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/FALCON-1498?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Rishav Rohit updated FALCON-1498: --------------------------------- Description: Add more parameters like falcon__partitions for HCatalogue input feed. A use case which I can think of now is described below - Suppose there are two date partitioned input table and you want to join these tables on date partition column - {noformat} INSERT OVERWRITE TABLE ${falcon_output_database}.${falcon_output_table} PARTITION (${falcon_output_partitions_hive}) SELECT "join_count", count(*) FROM ${falcon_input1_database}.${falcon_input1_table} a, ${falcon_input2_database}.${falcon_input2_table} b -- these parameters are not available WHERE a.${falcon_input1_partitions} AND b.${falcon_input2_partitions}; --- workaround, use output feed parameters WHERE a.${falcon_output_partitions} AND b.${falcon_output_partitions} {noformat} Some other workaround is also possible, but presence of more parameters would help. was: Add more parameters like falcon__partitions for HCatalogue input feed. A use case which I can think of now is described below - Suppose there are two date partitioned input table and you want to join these tables on date partition column - {quote} INSERT OVERWRITE TABLE ${falcon_output_database}.${falcon_output_table} PARTITION (${falcon_output_partitions_hive}) SELECT "join_count", count(*) FROM ${falcon_input1_database}.${falcon_input1_table} a, ${falcon_input2_database}.${falcon_input2_table} b -- these parameters are not available WHERE a.${falcon_input1_partitions} AND b.${falcon_input2_partitions}; --- workaround, use output feed parameters WHERE a.${falcon_output_partitions} AND b.${falcon_output_partitions} {quote} Some other workaround is also possible, but presence of more parameters would help. > Add more parameters for HCatalogue input feed > --------------------------------------------- > > Key: FALCON-1498 > URL: https://issues.apache.org/jira/browse/FALCON-1498 > Project: Falcon > Issue Type: Improvement > Components: feed > Affects Versions: 0.6 > Environment: HDP-2.2.0 > Reporter: Rishav Rohit > Priority: Minor > > Add more parameters like falcon__partitions for HCatalogue input feed. > A use case which I can think of now is described below - > Suppose there are two date partitioned input table and you want to join these tables on date partition column - > {noformat} > INSERT OVERWRITE TABLE ${falcon_output_database}.${falcon_output_table} PARTITION (${falcon_output_partitions_hive}) > SELECT "join_count", count(*) > FROM ${falcon_input1_database}.${falcon_input1_table} a, > ${falcon_input2_database}.${falcon_input2_table} b > -- these parameters are not available > WHERE a.${falcon_input1_partitions} > AND b.${falcon_input2_partitions}; > --- workaround, use output feed parameters > WHERE a.${falcon_output_partitions} > AND b.${falcon_output_partitions} > {noformat} > Some other workaround is also possible, but presence of more parameters would help. -- This message was sent by Atlassian JIRA (v6.3.4#6332)