apex-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Pradeep A. Dalvi" <p...@apache.org>
Subject Re: Data Filter Operator in Malhar
Date Mon, 09 May 2016 16:12:41 GMT
Mea Culpa! Yes. An error is certainly considered. I forgot to mention in
the proposal.

Thanks,
Pradeep A. Dalvi

On Mon, May 9, 2016 at 6:05 PM, Sandeep Deshmukh <sandeep@datatorrent.com>
wrote:

> + 1
>
> An error port can be added to redirect tuples for which expression
> evaluation failed.
>
> Regards,
> Sandeep
>
> On Mon, May 9, 2016 at 6:02 PM, Shubham Pathak <shubham@datatorrent.com>
> wrote:
>
> > + 1 for having a filter operator.
> >
> > Thanks,
> > Shubham
> >
> > On Sun, May 8, 2016 at 10:50 AM, Mohit Jotwani <mohit@datatorrent.com>
> > wrote:
> >
> > > +1
> > >
> > > Regards,
> > > Mohit
> > > On 8 May 2016 03:04, "Pradeep A. Dalvi" <prad@apache.org> wrote:
> > >
> > > > Dear Folks,
> > > >
> > > > We are working on 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. Filter operator shall receive POJO as input tuple and emit POJO on
> > > > either of output ports i.e. true and false. As the output ports' name
> > > > signify, when condition is met then the POJO shall be emitted on true
> > > port
> > > > and if condition is not met then that POJO shall be emitted on false
> > > port.
> > > >
> > > > 2. Operator needs condition/expression as a input param. This
> condition
> > > is
> > > > based on expression language support we already have in Malhar.
> > > >
> > > >
> > > > Please feel free to let me know your thoughts on this.
> > > >
> > > >
> > > > Thanks,
> > > >
> > > > --
> > > > Pradeep A. Dalvi
> > > >
> > >
> >
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message