Return-Path: X-Original-To: apmail-apex-dev-archive@minotaur.apache.org Delivered-To: apmail-apex-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 5A46118236 for ; Thu, 17 Mar 2016 13:53:42 +0000 (UTC) Received: (qmail 98558 invoked by uid 500); 17 Mar 2016 13:53:42 -0000 Delivered-To: apmail-apex-dev-archive@apex.apache.org Received: (qmail 97808 invoked by uid 500); 17 Mar 2016 13:53:39 -0000 Mailing-List: contact dev-help@apex.incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@apex.incubator.apache.org Delivered-To: mailing list dev@apex.incubator.apache.org Received: (qmail 97451 invoked by uid 99); 17 Mar 2016 13:53:37 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd3-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 17 Mar 2016 13:53:37 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd3-us-west.apache.org (ASF Mail Server at spamd3-us-west.apache.org) with ESMTP id AA9901804AF for ; Thu, 17 Mar 2016 13:53:36 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd3-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -4.021 X-Spam-Level: X-Spam-Status: No, score=-4.021 tagged_above=-999 required=6.31 tests=[KAM_LAZY_DOMAIN_SECURITY=1, RCVD_IN_DNSWL_HI=-5, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, RP_MATCHES_RCVD=-0.001] autolearn=disabled Received: from mx2-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd3-us-west.apache.org [10.40.0.10]) (amavisd-new, port 10024) with ESMTP id FIG86BgwjTYq for ; Thu, 17 Mar 2016 13:53:35 +0000 (UTC) Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by mx2-lw-eu.apache.org (ASF Mail Server at mx2-lw-eu.apache.org) with SMTP id CBE035F244 for ; Thu, 17 Mar 2016 13:53:34 +0000 (UTC) Received: (qmail 97101 invoked by uid 99); 17 Mar 2016 13:53:33 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 17 Mar 2016 13:53:33 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 80E232C1F60 for ; Thu, 17 Mar 2016 13:53:33 +0000 (UTC) Date: Thu, 17 Mar 2016 13:53:33 +0000 (UTC) From: "ASF GitHub Bot (JIRA)" To: dev@apex.incubator.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (APEXMALHAR-2015) Projection Operator 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/APEXMALHAR-2015?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15199552#comment-15199552 ] ASF GitHub Bot commented on APEXMALHAR-2015: -------------------------------------------- GitHub user pradeepdalvi opened a pull request: https://github.com/apache/incubator-apex-malhar/pull/217 APEXMALHAR-2015: Projection Operator & its unit tests - Projection Operator - Unit tests for select/drop fields & projection operator You can merge this pull request into a Git repository by running: $ git pull https://github.com/pradeepdalvi/incubator-apex-malhar master Alternatively you can review and apply these changes as the patch at: https://github.com/apache/incubator-apex-malhar/pull/217.patch To close this pull request, make a commit to your master/trunk branch with (at least) the following in the commit message: This closes #217 ---- commit 2cb5234719f49e336e4797bcbf041e02f4279a98 Author: Pradeep A. Dalvi Date: 2016-03-16T12:09:17Z APEXMALHAR-2015: Projection Operator & its unit tests - Projection Operator - Unit tests for select/drop fields & projection operator ---- > Projection Operator > ------------------- > > Key: APEXMALHAR-2015 > URL: https://issues.apache.org/jira/browse/APEXMALHAR-2015 > Project: Apache Apex Malhar > Issue Type: New Feature > Reporter: Pradeep A Dalvi > > Projection Operator will allow apex users to project (select/drop) certain fields from the incoming tuples. This operation might be done unconditionally or based on certain condition. > Use case: > ------------- > Not all fields of tuples are of interest for the downstream operators. In such cases, one may want project selective fields to downstream. Also one may want to drop few fields, instead of selecting many. > In certain scenarios, one may want to project certain fields based on given condition or expression. > Functionality: > ----------------- > 1. Projection operator shall receive POJO as input tuple and emit 2 POJOs on separate output ports i.e. selected and dropped. Selected output port shall emit POJO with selected fields and dropped output shall emit POJO of dropped fields. > 2. Operator needs select or drop fields as input params. This shall be specified using comma separated list of fields. > 3. Operator shall emit POJO only on connected output ports. In another words, if dropped output port is not connected, it shall not even try to generate POJOs with dropped fields. -- This message was sent by Atlassian JIRA (v6.3.4#6332)