Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 577CE200B32 for ; Wed, 25 May 2016 00:05:16 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 56153160A36; Tue, 24 May 2016 22:05:16 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 9FBDF160A35 for ; Wed, 25 May 2016 00:05:15 +0200 (CEST) Received: (qmail 71694 invoked by uid 500); 24 May 2016 22:05:14 -0000 Mailing-List: contact dev-help@apex.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@apex.apache.org Delivered-To: mailing list dev@apex.apache.org Received: (qmail 71683 invoked by uid 99); 24 May 2016 22:05:14 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd1-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 24 May 2016 22:05:14 +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 7883EC68F2 for ; Tue, 24 May 2016 22:05:14 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd1-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -5.446 X-Spam-Level: X-Spam-Status: No, score=-5.446 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=-1.426] autolearn=disabled Received: from mx2-lw-us.apache.org ([10.40.0.8]) by localhost (spamd1-us-west.apache.org [10.40.0.7]) (amavisd-new, port 10024) with ESMTP id X4Rt0aRWTUx8 for ; Tue, 24 May 2016 22:05:14 +0000 (UTC) Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by mx2-lw-us.apache.org (ASF Mail Server at mx2-lw-us.apache.org) with SMTP id A4C7F5FBE7 for ; Tue, 24 May 2016 22:05:13 +0000 (UTC) Received: (qmail 71343 invoked by uid 99); 24 May 2016 22:05:13 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 24 May 2016 22:05:13 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id E39F82C033A for ; Tue, 24 May 2016 22:05:12 +0000 (UTC) Date: Tue, 24 May 2016 22:05:12 +0000 (UTC) From: "Chinmay Kolhatkar (JIRA)" To: dev@apex.incubator.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Resolved] (APEXMALHAR-2082) Data Filter Operator MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Tue, 24 May 2016 22:05:16 -0000 [ https://issues.apache.org/jira/browse/APEXMALHAR-2082?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Chinmay Kolhatkar resolved APEXMALHAR-2082. ------------------------------------------- Resolution: Fixed Fix Version/s: 3.5.0 > Data Filter Operator > --------------------- > > Key: APEXMALHAR-2082 > URL: https://issues.apache.org/jira/browse/APEXMALHAR-2082 > Project: Apache Apex Malhar > Issue Type: New Feature > Reporter: Pradeep A. Dalvi > Assignee: Pradeep A. Dalvi > Fix For: 3.5.0 > > > Data Filter Operator which will allow apex users to filter (select/drop) tuples based on the certain condition from incoming stream. > Use case: > ------------- > In many cases, not all tuples are of interest for the downstream operators. In such cases, one may want select/filter out tuples to downstream. Also one may want to process tuples which did not meet the condition/expression. > Functionality: > ----------------- > 1. Any tuple for which expression could not be evaluated shall be emitted on error output port. > 2. Filter operator shall receive POJO as input tuple and emit POJO on either of remaining output ports i.e. truePort and falsePort. As the output ports' name signify, when condition is met then the POJO shall be emitted on truePort and if condition is not met then that POJO shall be emitted on falsePort. > 3. Operator needs condition/expression as a input param. This condition is based on expression language support we already have in Malhar. -- This message was sent by Atlassian JIRA (v6.3.4#6332)