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 398E02004C8 for ; Mon, 9 May 2016 18:23:18 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 384FF160A0F; Mon, 9 May 2016 16:23:18 +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 827CA1609A8 for ; Mon, 9 May 2016 18:23:17 +0200 (CEST) Received: (qmail 36869 invoked by uid 500); 9 May 2016 16:23:16 -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 36858 invoked by uid 99); 9 May 2016 16:23:16 -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; Mon, 09 May 2016 16:23:16 +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 03BEBC0F76 for ; Mon, 9 May 2016 16:23:16 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd1-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -6.099 X-Spam-Level: X-Spam-Status: No, score=-6.099 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=-2.079] 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 XblXf4ukTC2L for ; Mon, 9 May 2016 16:23: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 F25A45F23A for ; Mon, 9 May 2016 16:23:13 +0000 (UTC) Received: (qmail 36365 invoked by uid 99); 9 May 2016 16:23:13 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 09 May 2016 16:23:13 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id E88692C1F62 for ; Mon, 9 May 2016 16:23:12 +0000 (UTC) Date: Mon, 9 May 2016 16:23:12 +0000 (UTC) From: "Pradeep A Dalvi (JIRA)" To: dev@apex.incubator.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Created] (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: Mon, 09 May 2016 16:23:18 -0000 Pradeep A Dalvi created APEXMALHAR-2082: ------------------------------------------- Summary: Data Filter Operator Key: APEXMALHAR-2082 URL: https://issues.apache.org/jira/browse/APEXMALHAR-2082 Project: Apache Apex Malhar Issue Type: Bug Reporter: Pradeep A Dalvi 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)